An access token is valid for a short period for secrity purposes. Once they expire, client applications can use a refresh token to retrieve a new access token.
Access tokens expire after 30 minutes.
Refresh tokens expire after 14 days.
A refresh token is a credential artefact that lets a client application get new access tokens without asking for the user credentials again. As part of the OAuth security concept, the refresh token prevents excessive transmission of user credentials that lower security, as more requests offer more attack opportunities.
Endpoint | https://auth.apiax.io/auth/realms/apiax/protocol/openid-connect/token | This endpoint creates tokens valid for the production environment. This is the environment where standard clients do all the work. |
Method | POST |
|
Header | Content-Type: application/x-www-form-urlencoded |
|
Form values |
|
Use the You can find the refresh token at the JSON path |
Response |
|
The response contains the access token at JSON path You can use the access token as a bearer authentication header for subsequent API calls.
Default expiration time: The value |
Comments
0 comments
Article is closed for comments.