Created 04-22-2021 04:51 AM
knox version:1.0.0
ambari version:2.7.5
Knox SSO SAML for Ambari have a prompt:
ambari-server log:
knox config
ambari setup-sso reference:
Thank you very much for your reply!
Created 04-22-2021 11:52 PM
@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
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
@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
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'