[Openid-specs-ab] Question to Dynamic Client Registration implementers
Vladimir Dzhuvinov
vladimir at connect2id.com
Tue Sep 26 06:28:23 UTC 2023
Thank you Filip, this was helpful in many and unexpected ways :)
Vladimir
On 23/09/2023 08:50, Filip Skokan wrote:
> Hi Vladimir,
>
> see below
>
> curl -sX POST https://op.panva.cz/reg -H 'content-type:
> application/json' -d '{"redirect_uris":["https://rp.example.com"],
> "grant_types":null}' | jq
>
>
> *{*
>
> ***"error"**: *"invalid_client_metadata"*,*
>
> ***"error_description"**: *"grant_types must be an array"
>
> *}*
>
>
> During DCR Management Update however, null, or property omission, is
> considered a signal to remove, or set a default value to a property.
>
> IIRC my initial implementation had null treated as "not provided" for
> DCR create as well, for some reasons which I cannot recall (but git
> blame & commit history could probably reveal that) this was changed.
>
> S pozdravem,
> *Filip Skokan*
>
>
> On Fri, 22 Sept 2023 at 20:41, Vladimir Dzhuvinov via Openid-specs-ab
> <openid-specs-ab at lists.openid.net> wrote:
>
> This is a question to implementers of OIDC Dynamic Client
> Registration:
>
> Does your implementation return an "invalid_client_metadata" error
> when parsing a metadata parameter with a null value, or does it
> treat that as if the metadata parameter is absent from the request?
>
> For example:
>
> POST /clients HTTP/1.1
> Content-Type: application/json
>
> {
> "redirect_uris":
> ["https://client.example.org/callback" <https://client.example.org/callback>],
> "grant_types": null <--- metadata parameter with null value
> }
>
>
> Thanks,
>
> Vladimir
>
> --
> Vladimir Dzhuvinov
>
> _______________________________________________
> Openid-specs-ab mailing list
> Openid-specs-ab at lists.openid.net
> https://lists.openid.net/mailman/listinfo/openid-specs-ab
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20230926/cd743338/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20230926/cd743338/attachment-0001.p7s>
More information about the Openid-specs-ab
mailing list