Forum Discussion
fuenteso - I believe we only can get the response data, not the response URL. Also, is there no content on the login page? because as you said, you get a blank page?
There are few context object available, however, these are for getting the redirection URL for lithium SSO page. e.g
${webUi.getUserLoginPageUrl("/")}
${webUi.getUserLogoutPageUrl("/")}
${webUi.getUserRegistrationPageUrl("/")}
Documentaion: https://freemarker-docs-portal.lithium.com/refer/contextObjects
- fuenteso7 years agoLeader
Hi,
Well, the original process is we redirect the user to the log in page and provide a callback URL, once the user logs in the authentication server redirects the user back to the callback URL including an authorization code that we should exchange for an access token.
In this case the callback URL is a dummy page, we need to pick up that access code and make another call to the User profile service so they can exchange it for the access token and grant us access to their data.
I guess I'll have to find a different way to authenticate.
Thanks anyway.
Related Content
- 7 months ago
- 7 months ago
- 4 years ago
- 4 years ago
- 4 years ago