Skip to content

Add accessTokenExpiresIn field #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 24, 2024
Merged

Conversation

slunker
Copy link
Collaborator

@slunker slunker commented Jun 21, 2024

A new response field access_token_expires_in was added to session, refresh and login/end endpoints. This PR is about adding that field to the responses of respective functions that call these endpoints.

@@ -32,15 +32,17 @@ beforeEach(() => {
is_logged_in: true,
id_token_claims: {
sub: 'login-end' // we are using 'sub' claims to distinguish between call to /login/end and /session (otherwise they return the same JSON structure)
}
},
access_token_expires_in: 300
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be asserted somewhere in the tests, to cover correct mapping?

@slunker slunker merged commit 2d1abc4 into main Jun 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants