mozilla / mozilla-django-oidc

A django OpenID Connect library
https://mozilla-django-oidc.readthedocs.io
Mozilla Public License 2.0
444 stars 166 forks source link

Support application/jwt in userinfo endpoint #521

Open sergei-maertens opened 7 months ago

sergei-maertens commented 7 months ago

Closes #517

This is an initial draft to spark discussion about implementation details.

Changes:

Topics to discuss:

ikarius commented 1 month ago

Seems legit for the handling of the application/jwt content-type. We stumbled on this issue where JWT content was in binary/byte array form, and the userinfo response was impossible to decode (because not in standard JSON).