Skip to content
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

fix: validate user code has not expired #9

Merged
merged 2 commits into from
Apr 10, 2024
Merged

fix: validate user code has not expired #9

merged 2 commits into from
Apr 10, 2024

Conversation

nsklikas
Copy link

@nsklikas nsklikas commented Apr 9, 2024

IAM-820

Validate that the user code has not expired. Due to circular imports (the session object is defined in the oauth2 package), I had to alter the persister logic to initialize the session, if a session object was not provided.

@nsklikas nsklikas changed the title fix: Validate user code has not expired fix: validate user code has not expired Apr 9, 2024
BarcoMasile
BarcoMasile previously approved these changes Apr 9, 2024
@wood-push-melon
Copy link

Non-blocking: do you think we could pull this check earlier, like before this line?

If so, I can change it in the ID token fix PR.

@nsklikas
Copy link
Author

Non-blocking: do you think we could pull this check earlier, like before this line?

this makes sense, I moved the check

@nsklikas nsklikas requested a review from a team April 10, 2024 13:07
@nsklikas nsklikas merged commit bef13a4 into canonical Apr 10, 2024
23 checks passed
@nsklikas nsklikas deleted the IAM-820 branch April 10, 2024 13:25
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.

4 participants