Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
401 Unauthorized when logging in via OIDC
Labels:
- Labels:
-
Cloudera Hue
New Contributor
Created ‎11-01-2021 11:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, we're using OIDC with Keycloak. We get this issue when trying to log in on Hue (v4.10):
"
401
Unauthorized
Sorry, your user is not found, and settings doesn't allow to create a new user.
"
Any idea why the user isn't being created?
---
Our z-hue-overrides.ini has these changes:
[desktop]
http_x_frame_options = ALLOW
use_x_forwarded_host = true
secure_proxy_ssl_header = true
[[custom]]
[[auth]]
backend=desktop.auth.backend.OIDCBackend
[[oidc]]
create_users_on_login = true
superuser_group = hue_superuser
login_redirect_url = https://hue.local/oidc/callback/
login_redirect_url_failure = https://hue.local/hue/oidc_failed/
oidc_op_authorization_endpoint = https://idp.example.com/auth/realms/example-dev/protocol/openid-connect/auth
oidc_op_jwks_endpoint = https://idp.example.com/auth/realms/example-dev/protocol/openid-connect/certs
oidc_op_token_endpoint = https://idp.example.com/auth/realms/example-dev/protocol/openid-connect/token
oidc_op_user_endpoint = https://idp.example.com/auth/realms/example-dev/protocol/openid-connect/userinfo
oidc_rp_client_id = hue
oidc_rp_client_secret = secret
oidc_username_attribute = preferred_username
1 REPLY 1
New Contributor
Created ‎08-22-2023 06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
