Skip to content

refactor: use Authlib for OAuth flows#253

Open
manojbajaj95 wants to merge 3 commits into
mainfrom
feature/oauth-library-flows
Open

refactor: use Authlib for OAuth flows#253
manojbajaj95 wants to merge 3 commits into
mainfrom
feature/oauth-library-flows

Conversation

@manojbajaj95
Copy link
Copy Markdown
Collaborator

Summary

  • Add Authlib as the OAuth client dependency
  • Route PKCE authorization URLs, code exchange, refresh, and revocation through a small Authlib-backed helper
  • Remove the hand-rolled PKCE generator and duplicated token exchange payload code
  • Add focused tests for the Authlib-backed helper and PKCE begin behavior

Verification

  • uv run ruff check --fix src/ tests/
  • uv run ruff format src/ tests/
  • uv run ty check src/
  • uv run pytest
  • uv run pre-commit run --all-files

Entire-Checkpoint: 3fd27c6c5d9c
@manojbajaj95 manojbajaj95 marked this pull request as draft May 13, 2026 10:44
Entire-Checkpoint: 53df39be90c1
Entire-Checkpoint: 257da914f401
@manojbajaj95 manojbajaj95 marked this pull request as ready for review May 13, 2026 10:56
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