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

No LDAP UID found in OpenID response #284

Open
benthetechguy opened this issue Jul 15, 2024 · 1 comment
Open

No LDAP UID found in OpenID response #284

benthetechguy opened this issue Jul 15, 2024 · 1 comment

Comments

@benthetechguy
Copy link

I'm trying to use Azure as an OpenID Connect provider, and I'm running into the error No LDAP UID found in OpenID response. Based on #162, this should only be triggered if ldap_uid is not specified, but it's right there in my config:

'oidc_login_attributes' => array (
  'id' => 'sub',
  'name' => 'name',
  'mail' => 'email',
  'ldap_uid' => 'objectGUID',
),
@53c70r
Copy link

53c70r commented Sep 19, 2024

Against keycloak it should be

  'oidc_login_client_id' => 'XXX',
  'oidc_login_client_secret' => '***',
  'oidc_login_provider_url' => 'https://kc.XXX.com/realms/XXX',
  'oidc_login_end_session_redirect' => true,
  'oidc_login_logout_url' => 'https://XXX.XXX.com',
  'oidc_login_auto_redirect' => true,
  'oidc_login_redir_fallback' => false,
  'oidc_login_use_id_token' => true,
  'oidc_login_proxy_ldap' => true,
  'oidc_login_attributes' =>
  array (
    'id' => 'preferred_username',
    'mail' => 'email',
    'ldap_uid' => 'preferred_username',
  ),

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