Skip to content

feat(oidc): support nonce passthrough#340

Open
RYQ-22 wants to merge 1 commit into
cloudreve:masterfrom
RYQ-22:oidc
Open

feat(oidc): support nonce passthrough#340
RYQ-22 wants to merge 1 commit into
cloudreve:masterfrom
RYQ-22:oidc

Conversation

@RYQ-22

@RYQ-22 RYQ-22 commented Jun 15, 2026

Copy link
Copy Markdown

Summary

  • Add OIDC nonce passthrough in the frontend authorization flow
  • Reads nonce from the OAuth/OIDC authorization URL
  • Sends nonce to the backend consent API so it can be included in the ID Token

Files

  • src/api/user.ts - Add optional nonce to GrantService
  • src/component/Pages/Login/Authorize.tsx - Parse nonce from query params
  • src/component/Pages/Login/Signin/SignIn.tsx - Pass nonce through OAuth consent request

Test plan

  • Authorization URL with nonce preserves the value through login/consent
  • Consent API request includes nonce

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.

1 participant