Skip to content

feat: support list params in prepare_grant_uri#827

Merged
lepture merged 1 commit intoauthlib:mainfrom
lisongmin:support-list-params-in-prepare-grant-uri
Sep 26, 2025
Merged

feat: support list params in prepare_grant_uri#827
lepture merged 1 commit intoauthlib:mainfrom
lisongmin:support-list-params-in-prepare-grant-uri

Conversation

@lisongmin
Copy link
Contributor

What kind of change does this PR introduce?

I want to access logto using authlib recently, and It requires multiple resource keys in the query string (&resource=...&resource=...) in oidc/auth endpoint. when i using (resource=...+...) format, it raise error.
This maybe a bug in logto. But it is great if we support setting a list parameter in authlib.

This PR supports convert a list parameter into query params

Checklist

  • The commits follow the conventional commits specification.
  • You ran the linters with prek.
  • You wrote unit test to demonstrate the bug you are fixing, or to stress the feature you are bringing.
  • You reached 100% of code coverage on the code you edited, without abusive use of pragma: no cover
  • If this PR is about a new feature, or a behavior change, you have updated the documentation accordingly.

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

@lisongmin lisongmin force-pushed the support-list-params-in-prepare-grant-uri branch from d51d72a to 30ea3c5 Compare September 26, 2025 07:03
@lepture lepture merged commit 5bdfc4b into authlib:main Sep 26, 2025
8 checks passed
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.

2 participants