-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Closed
Copy link
Labels
comp-jans-auth-serverComponent affected by issue or PRComponent affected by issue or PRkind-featureIssue or PR is a new feature requestIssue or PR is a new feature request
Milestone
Description
Description
Standard Token Endpoint response has only access token lifetime. It does not have refresh token lifetime.
We need to introduce new AS configuration property which will force AS to return refresh token lifetime in token reponse. JSON key "refresh_token_expires_in".
Example
{
"access_token": "...",
"refresh_token": "...",
"scope": "openid user_name offline_access profile email",
"id_token": "...",
"token_type": "Bearer",
"expires_in": 299,
"refresh_token_expires_in": 1399 <-- new non-standard field
}
Test cases and code coverage
- Write unit test to cover added/changed code
- Update integration tests to cover added/changed code
- documentation
Metadata
Metadata
Assignees
Labels
comp-jans-auth-serverComponent affected by issue or PRComponent affected by issue or PRkind-featureIssue or PR is a new feature requestIssue or PR is a new feature request