简体   繁体   中英

What is the SsoLoginContrib extension setting for AuthTokenName when using Keycloak as IDP?

I'm using Twiki and the SsoLoginContrib extension with Keycloak to set up SSO. The LocalSite.cfg settings require $TWiki::cfg{SsoLoginContrib}{AuthTokenName} but I don't know what that setting should be when using Keycloak. How do I find the AuthTokenName in Keycloak?

I've tried 'AUTH_SESSION_ID', 'KEYCLOAK_IDENTITY' and 'KEYCLOAK_SESSION' because they were set in the cookie after successful authentication with a Keycloak user.

$TWiki::cfg{SsoLoginContrib}{AuthTokenName} = 'KEYCLOAK_IDENTITY';

I would expect the authentication to succeed and redirect to the Twiki/bin/view/Main page but there is no redirect, only the Keycloak realms//account page for the authenticated user.

I tried to reach out for help and use the resources available but I get "please format your question properly." I used the 'wizard' provided by stackoverflow and entered the information. I searched the web using multiple search engines. I really had hoped the community was mature and friendly enough to help but my expectations are obviously too high. The times have changed, the internet is now full of arrogant brats that have grudges against the world because they were bullied for being nerds. I understand that. I give up.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM