Skip to content

Public clients, PKCE and a richer authorization request - #12

Merged
azmeuk merged 8 commits into
authlib:mainfrom
azmeuk:feat/setup-steps
Nov 5, 2026
Merged

azmeuk merged 8 commits into
authlib:mainfrom
azmeuk:feat/setup-steps

Conversation

@azmeuk

@azmeuk azmeuk commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Fixes:

  • Each request now uses the client of its own session. Before, Authlib kept the first client created in the process, for every user.
  • The app no longer fails when the server is set in the environment and no client is configured yet.
  • The session is only stored when a request changes it, so concurrent htmx requests do not overwrite each other.

Features:

  • The client can be confidential or public, with its token endpoint authentication method.
    Configuring a new client forgets the tokens of the previous one.
  • PKCE can be S256, plain or disabled. S256 is the default when the server supports it, or for a public client.
  • The authorization form accepts other scopes and extra parameters. It shows a live preview of the request and validates the fields inline.
  • The tokens tab shows how the tokens were obtained, and the raw token response.

Part of #2

@azmeuk
azmeuk merged commit c7faf14 into authlib:main Nov 5, 2026
13 checks passed
@azmeuk
azmeuk deleted the feat/setup-steps branch November 5, 2026 20:29
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