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

RFC 9126: OAuth 2.0 Pushed Authorization Requests #8

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

vamsii777
Copy link
Contributor

Implements Pushed Authorization Requests (PAR) to support client-initiated authorization without user interaction. Adds a new endpoint to push authorization requests and return a request URI. Extends the authorize endpoint to handle these requests. Introduces PARRequestStorage protocol with InMemoryPARStorage and RedisPARStorage implementations for customizable storage options. Enhances automated authorization flow capabilities for improved client experience.

Closes #7

Adds support for Pushed Authorization Request (PAR) to allow clients to initiate OAuth authorization flows without user interaction. This introduces a new endpoint for clients to push authorization requests and receive a request URI. The authorize endpoint is extended to handle these requests. A new `PARRequestStorage` protocol is introduced to allow for customizable storage of PAR requests. Two implementations, `InMemoryPARStorage` and `RedisPARStorage`, are provided for in-memory and Redis-based storage, respectively. This feature improves the user experience for clients that require automated authorization flows.

Closes #7
@vamsii777 vamsii777 changed the title Add support for Pushed Authorization Requests (PAR) RFC 9126: OAuth 2.0 Pushed Authorization Requests Oct 29, 2024
@vamsii777 vamsii777 merged commit fbf90ee into swift-6 Oct 29, 2024
2 checks passed
@vamsii777 vamsii777 deleted the ext/par branch October 29, 2024 14:17
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.

Add Pushed Authorization Request (PAR) support
1 participant