899 Results
Free Marker: Any way to know if MyProfilePage was saved.
Hi There... I'm fairly sure I can do a lot of what I want using javascript. However, if possible I rather use Free Marker. Is it possible to know that the MyProfilePage was saved (as when t...Solved547Views
Sign in to react to this post8Comments
- AdamT15 years agoLithium Alumni (Retired)
My apologies.
You'll need to reference the results as so:
<#if activity.results.name.UserUpdated??> ... </#if>
Sorry for the confusion!
Sign in to react to this post
Why SSO Cookie was not written into response when using firefox browser?
We use Lithium SSO in our product. When users log into the website, we will call LithiumSSOClient.writeLithiumCookie() to write the SSO Cookie. When I use firefox to log into our website, I coul...Solved241Views
Sign in to react to this post1Comment
- DougS11 years agoKhoros Alumni (Retired)
When an SSO cookie is processed, Lithium tries to delete the cookie and replace it with a cookie that starts with an exclamation point (!lithiumSSO:). This is to prevent the app from trying to process the same cookie it's already processed more than 1 time, which we don't allow (for security reasons). We also put time limits on how long an SSO token is good for, so it's best practice to only set an SSO cookie right befor sending a browser to the community.
It shouldn't matter how you generate the cookie (server-side or ajax call), as long as the request is secure and cannot be used to get an sso token that lets you log in as another user.
If you are making an ajax call to another domain to get an sso cookie, make sure you have CORS configured correctly for that community and are sending the correct headers.
If an sso cookie is set by an ajax call, you should always reload the page (or make another ajax request with the sso cookie) since the sso processing happens on the server-side.
I googled "ajax can't set cookie firefox" and found this stackoverflow article:
Jquery Ajax Firefox not sending cookie (Chrome works)
Maybe what you're trying is related?
-Doug
Sign in to react to this post
"1" was searched 1,755 + 501 times one day in August?
What on earth could this be? Our community is closed to open registrations, and SSO authentication only.235Views
Sign in to react to this post3Comments
How to add "Was this article helpful?" component please
Any tips on how to add "Was this article helpful?"component in blog and TKB please? Thank you :) Marianne370Views
Sign in to react to this post5Comments
Subscriptions to a label?
Hi all, I'm attempting to get the list of people who have subscribed to a label, but am struggling. The documentation is a bit confusing: It says both that you have to use a community ID as the...Solved2.6KViews
Sign in to react to this post9Comments
I have been playing around for half an hour now and also only get subscriptions for the current user :( The target.id param seems to be always causing an error and therefor going against how it's documented even though it is returned in the resultset.
Sign in to react to this post