A Minecraft Fabric mod that connects the game with ATProtocol ⛏️
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(oauth): add ATProto OAuth client with PKCE, DPoP, and PAR #1

open opened by ewancroft.uk targeting main from feat/oauth-client-login

Implements the core OAuth 2.1 client-side flow per ATProto spec:

  • PkceUtils: RFC 7636 code verifier/challenge generation (S256)
  • DpopProof: RFC 9449 DPoP proof JWT construction (ES256/P-256)
  • OAuthCallbackServer: localhost HTTP server for browser redirect
  • OAuthModels: serializable types for server metadata, PAR, tokens
  • OAuthManager: full flow orchestration (discovery, PAR, token exchange)

All OAuth requests include DPoP proof headers. PAR is mandatory per ATProto spec. Token exchange includes PKCE code verifier.

👾 Generated with Letta Code

Co-Authored-By: Letta Code noreply@letta.com

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:ofrbh253gwicbkc5nktqepol/sh.tangled.repo.pull/3mke65hlngg22
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
ewancroft.uk submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments