Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenID-provider without userinfo_endpoint #82

Closed
davidwessman opened this issue Feb 21, 2023 · 1 comment
Closed

OpenID-provider without userinfo_endpoint #82

davidwessman opened this issue Feb 21, 2023 · 1 comment

Comments

@davidwessman
Copy link

davidwessman commented Feb 21, 2023

Hello!

We are working with a new provider which do not provide the userinfo_endpoint, so it is set to nil via discovery as far as I can understand.

It does fail in openid_connect (1.4.2) lib/openid_connect/access_token.rb with OpenIDConnect::HttpError Unknown HttpError.

As far as I have been able to understand it is only RECOMMENDED in the discovery definition https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata.

We are using openid_connect through https://github.com/omniauth/omniauth_openid_connect but I have not been able to find a way to disable the use of the userinfo_endpoint from there.

Versions:

  • openid_connect 1.4.2
  • omniauth_openid_connect 0.6.0
@davidwessman davidwessman changed the title OpenID-proivider without userinfo_endpoint OpenID-provider without userinfo_endpoint Feb 21, 2023
@nov
Copy link
Owner

nov commented Jan 3, 2024

I don't think it's related to this gem.
In this gem, userinfo_endpoint is optional.

@nov nov closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants