IdentityPython / idpy-oidc

Implementation of everything OIDC and OAuth2
Apache License 2.0
40 stars 22 forks source link

Support multiple values for a key param #108

Closed lionick closed 1 month ago

lionick commented 4 months ago

We need to change the implementation of to_urlencoded to support the doseq option of the urllib.parse.urlencode function.

The documentation is here: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencode

c00kiemon5ter commented 4 months ago

This is needed to construct URLs with multiple values of a query param.

Specifically, the Resource Indicators RFC allows specifying multiple target resources to be included as part of the aud claim for a generated token.

rohe commented 2 months ago

@lionick can you rebase this (and the other PRs you have) onto the present main ?

lionick commented 2 months ago

@rohe I have rebased it. When merged, I will rebase and the other.