1 ============================================
2 ``POST https://thalia.de/auth/oauth2/token``
3 ============================================
4 Step 4 of the `Login process`_.
8 1. Log in to obtain an access token.
9 2. Generate access token from a refresh token.
16 Provided in the reseller configuration.
22 ``application/x-www-form-urlencoded``
24 ``DT_EINK_10_NETRONIX DT_EINK_UPD_PP_14.1.0``
26 The ``refresh_token`` request sends no cookie.
28 Example: ``gcor=SIDYBbxYkmvUvoO8hy@2Sfx4QAAA9o; ab_bucket=9; ab_container=3; OAUTH-JSESSIONID=9C95C20ECEE74164E76F60C205147822.15acdb90``
32 POST parameters: New token
34 ``authorization_code``
36 ``epublishing://login``
38 The e-reader internal login process
40 Obtained from login form page redirect.
44 Example: ``treadervision3``
46 POST parameters: Refresh token
50 Obtained in the last OAuth token response.
52 Example: ``91132a11-dd87-4450-bf16-a63dff1da4d1``
54 Example: ``treadervision3``
60 HTTP status code ``200 OK``
62 .. include:: thalia-auth-oauth2-token-post.response.json