Skip to content

Conversation

@silva-fj
Copy link
Contributor

Summary

  • Removes OAuth2 verification data from storage immediately after retrieval

Ensures state/nonce values are single-use and prevents database bloat
@claude
Copy link

claude bot commented Oct 21, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@silva-fj silva-fj requested a review from a team October 21, 2025 12:36
@silva-fj silva-fj enabled auto-merge (squash) October 21, 2025 12:38
Copy link
Collaborator

@BillyWooo BillyWooo left a comment

Choose a reason for hiding this comment

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

Let's hold it there.
Frontend team would prefer this nonce to exist for some time (like more than 5 minutes).

@silva-fj
Copy link
Contributor Author

Let's hold it there. Frontend team would prefer this nonce to exist for some time (like more than 5 minutes).

The nonce is included in the id token. The authorization code can be used only once, so if they try again the verification will fail anyways

@vercel
Copy link

vercel bot commented Oct 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
heima-aa-demo-app Ready Ready Preview Comment Oct 24, 2025 2:10pm

@silva-fj silva-fj merged commit 09a32b4 into dev Oct 24, 2025
19 checks passed
@silva-fj silva-fj deleted the fix/remove-stored-oauth2-data-after-use branch October 24, 2025 14:41
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