feat: support list params in prepare_grant_uri by lisongmin · Pull Request #827 · authlib/authlib

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.