Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Extracting JWT token from SAML Response and making it available
Liferay Version- Liferay Portal Enterprise Edition 6.2.10 EE GA1
(Newton / Build 6210 / November 1, 2013)
Running on Tomcat
Using already Liferay SAML 2.0 for sso.
Now we have the requirement that from the incoming SAML response we need to extract another JWT token which will be sent in a parameter and need to make this token available for other applications. Any pointer on how to approach for this would be of great help.
Already tried with expando:userJwtToken=jwtToken, but this does not work.
Thanks
There is nothing OOTB that will do this for you, it is going to be a complete custom effort. You'd have to muck around in the bowels of SAML to grab the value and inject as I guess a cookie to push back to the browser.
Powered by Liferay™