Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

UserInfo JWT response support #635

Closed
asleire opened this issue Aug 7, 2018 · 2 comments
Closed

UserInfo JWT response support #635

asleire opened this issue Aug 7, 2018 · 2 comments

Comments

@asleire
Copy link
Contributor

asleire commented Aug 7, 2018

Hi,

If the UserInfo endpoint returns a JWT instead of JSON the client will fail with the error Error: Invalid response Content-Type: application/jwt;charset=utf-8.

According to the OpenId specifications the UserInfo endpoint is allowed to return a JWT. Could support for this response type be added?

Thanks!

@brockallen
Copy link
Member

I'm curious -- what OP are you using that does that?

But yes, this could be added as an enhancement. Want to submit a PR for it?

@asleire
Copy link
Contributor Author

asleire commented Aug 7, 2018

I'm using a norwegian national identity provider called BankID

I've submitted a PR with a comment describing the changes. Please ask if you have any questions

@brockallen brockallen modified the milestones: 1.5.3, 1.6.0 Oct 5, 2018
@brockallen brockallen removed this from the 1.6.0 milestone Dec 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants