Skip to content

OAuth client SDK #1100

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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

OAuth client SDK #1100

wants to merge 16 commits into from

Conversation

bnewbold
Copy link
Collaborator

@bnewbold bnewbold commented Jun 16, 2025

Design goals:

  • specific to atproto OAuth (not a general-purpose OAuth framework)
  • implementation is correct and interoperable with atproto specification
  • reasonably complete and flexible, though may make some opinionated implementation decisions to avoid footguns
  • compatible with client SDK (aka, implement AuthMethod)
  • oriented towards server-side (eg, BFF and integrations)
  • supports "just authn" use-cases

Progress:

  • basic confidential client demo web interface
  • public client mode
  • localhost dev client mode
  • refactor core types and method attachments (eg, a session-agnositc OAuthClient struct with http.Client)
  • persist token callback (wired to ClientApp)
  • make PAR DPoP retries more specific (parse error response)
  • fix DID/handle display in demo app
  • ability to embed JWKs in client metadata directly (blocked on needing key_ops?)
  • resolve XXX and TODO

@bnewbold bnewbold force-pushed the bnewbold/sdk-oauth branch from 12ebce6 to fd0a7a4 Compare July 2, 2025 04:13
@bnewbold bnewbold force-pushed the bnewbold/sdk-oauth branch from fd0a7a4 to 22125f1 Compare July 8, 2025 06:18
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