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

ADFS as OpenID Connect #5764

Open
ZAZmaster opened this issue Mar 29, 2024 · 2 comments
Open

ADFS as OpenID Connect #5764

ZAZmaster opened this issue Mar 29, 2024 · 2 comments

Comments

@ZAZmaster
Copy link

ZAZmaster commented Mar 29, 2024

Hello! I try to configure ADFS as OpenID Connect.
Config:

OPENID_CONNECT_CLIENT_ID=_ADFS_GENERATED_UUID_
OPENID_CONNECT_CLIENT_SECRET=_ADFS_GENERATED_SECRET_
OPENID_CONNECT_ISSUER=https://adfs.example.com/adfs
OPENID_CONNECT_REDIRECT=https://greenlight.example.com
OPENID_CONNECT_UID_FIELD=sub

When try to authorize has error:

greenlight-v3    | D, [2024-03-29T09:05:35.054054 #1] DEBUG -- omniauth: (openid_connect) Request phase initiated.
greenlight-v3    | D, [2024-03-29T09:05:37.480569 #1] DEBUG -- omniauth: (openid_connect) Callback phase initiated.
greenlight-v3    | E, [2024-03-29T09:05:37.956348 #1] ERROR -- : [5ab67d51-9ce9-45e3-9aa9-1d0ebdd8f3c1] Error during authentication: undefined method `downcase' for nil:NilClass

With LOG_LEVEL=debug - no more information (stack trace for example)

@nisutec
Copy link

nisutec commented Apr 4, 2024

We have the same problem with our OpenID Connect Provider. Presumably this is a general problem of Greenlight with the OpenID Connect implementation.

@ben-ba
Copy link

ben-ba commented Jul 18, 2024

corresponding source code;

Rails.logger.error("Error during authentication: #{e}")

did you setup an email for the user? personal i had issues (with keycloak as openid provider), without setting an email for the user.

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

3 participants