- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Knox SSO for Ambari Problem
- Labels:
-
Apache Knox
Created 04-22-2021 04:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
knox version:1.0.0
ambari version:2.7.5
Knox SSO SAML for Ambari have a prompt:
Alternatively login as an Ambari local user using the local login page.
http://example.com:8080/#/login/local
ambari-server log:
knox config
ambari setup-sso reference:
Thank you very much for your reply!
Created 04-22-2021 11:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@tancy Can you confirm is Ambari is synced with ldap/Ad, if Ambari is not synced with ldap/Ad, sync the users and then try to login again
Created 04-23-2021 02:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you, it is not synced with ldap/Ad and lgoin success. But i have a doubt that ambari authentication type include JWT, how can i sync the JWT to table 'user_authentication'
Created 04-23-2021 04:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@tancy Once logged into Knox SSO, the UI service uses a cookie named hadoop-jwt. The Knox Token Service enables clients to acquire this same JWT token , you can check this jwt token in browser developer tools
Can you confirm are you trying with the local admin user
Created 04-23-2021 08:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it is exist a hadoop-jwt cookie and i tested with the local admin user. I debug this class AmbariJwtAuthenticationProvider follow:
I only know sync the table ‘user_authentication’ with command sync-ldap, i can not find the way update authentication type JWT into the table 'user_authentication'
