How can I generate SSO Cookie (KEYCLOAK_IDENTITY) by myself?

363 views
Skip to first unread message

Youssef Ait Laydi

unread,
May 26, 2021, 10:28:56 AM5/26/21
to Keycloak User
Please how can I generate a jwt token to use it as KEYCLOAK_IDENTITY cookie in order to by pass Login form?

I configured a SAML client in keycloak and I mapped it with our hubspot account, so I want to click on a button in my Application to access into our hubspot account, my idea is to add KEYCLOAK_IDENTITY cookie to an http response (IDP initiated sso login url) to authenticate in hubspot via keycloak without login form. Note that I tried this successfully with a browser KEYCLOAK IDENTITY ccokie. But I don't know how this cookie is generated?

Reply all
Reply to author
Forward
0 new messages