-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seamless SSO #5
Comments
In order to be authenticated on the forum, some cookies must be set by the Try 1: handle setting cookies in API backend:
Try2: handle setting cookies in an iframe:
I am going to prepare a PR based on try2. |
Having domain-wide cookies might be a problem since other instances of the UI/API/forum will probably be set for test/dev purposes on the same domain (and would share the cookies then...). |
@gberaudo can we update the todo list at the beginning of this issue? What about the logout in Discourse pages? We need that the user is then also logged out from the UI. |
Could you summarize? I don't have the patience to read the thead :P |
There exists a redirect URL setting for logout. We can use it to redirect to the UI, handle the UI logout and redirect back to the forum. |
The alternative is to hide the forum login/logout buttons with CSS. |
That's not very intuitive to have to go to another page (UI) to be able to log out. |
The login and logout processes should be as integrated as possible.
A topic was open on discourse to get advices on the available possiblities:
https://meta.discourse.org/t/sso-login-from-main-site-backend/37933
The text was updated successfully, but these errors were encountered: