idpy-oidc icon indicating copy to clipboard operation
idpy-oidc copied to clipboard

Support multiple values for a key param

Open lionick opened this issue 1 year ago • 1 comments

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

lionick avatar Jul 08 '24 05:07 lionick

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.

c00kiemon5ter avatar Jul 08 '24 21:07 c00kiemon5ter

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

rohe avatar Aug 25 '24 14:08 rohe

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

lionick avatar Sep 04 '24 08:09 lionick