Draft
Conversation
Contributor
|
Thread bump - @MarshalX I've now incorporated this into Graze social and can confirm we're able to work with it! Would love to see this get into the main branch - once @ngerakines says its good ofc. Would love to hear what you think! |
Owner
|
Is this abandoned? Seems like there is demand for this feature. |
zzstoatzz
added a commit
to zzstoatzz/atproto
that referenced
this pull request
Oct 28, 2025
Implements complete OAuth 2.1 support following the ATProto OAuth specification (https://atproto.com/specs/oauth), building on concepts from PR MarshalX#589. Features: - Full OAuth 2.1 authorization code flow with PKCE (S256) and DPoP (ES256) - Pushed Authorization Requests (PAR) - DID-based authentication with handle/DID resolution - PDS endpoint and authorization server discovery - Automatic DPoP nonce rotation - Client assertions for confidential clients - Pluggable state and session stores - SSRF protection and security best practices Components: - New package: atproto_oauth with complete OAuth client - PKCE manager for code challenge generation - DPoP manager for JWT proof generation - Security utilities with URL validation - Metadata discovery for auth servers and PDS - Abstract and in-memory stores for state/sessions - 12 unit tests (all passing) - Flask reference implementation - Comprehensive documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
zzstoatzz
added a commit
to zzstoatzz/atproto
that referenced
this pull request
Nov 14, 2025
Implements complete OAuth 2.1 support following the ATProto OAuth specification (https://atproto.com/specs/oauth), building on concepts from PR MarshalX#589. Features: - Full OAuth 2.1 authorization code flow with PKCE (S256) and DPoP (ES256) - Pushed Authorization Requests (PAR) - DID-based authentication with handle/DID resolution - PDS endpoint and authorization server discovery - Automatic DPoP nonce rotation - Client assertions for confidential clients - Pluggable state and session stores - SSRF protection and security best practices Components: - New package: atproto_oauth with complete OAuth client - PKCE manager for code challenge generation - DPoP manager for JWT proof generation - Security utilities with URL validation - Metadata discovery for auth servers and PDS - Abstract and in-memory stores for state/sessions - 12 unit tests (all passing) - Flask reference implementation - Comprehensive documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements OAuth session support.
This is not ready for review or production.