Open
Conversation
ags1773
reviewed
Oct 20, 2021
tutorial/sso-login.md
Outdated
| To logout a user, the application can make a GET request on `/api/auth/v1/logout` or call `logout` function from` @quintype/bridgekeeper-js`. As a result, the user will be logged out on all domains. An application can determine if the user is logged in or has logged out as before, by making a GET request to Bridgekeeper on `/api/auth/v1/users/me` or `getCurrentUser()` from `@quintype/bridgekeeper-js` library. | ||
|
|
||
| ### Auto SSO | ||
| This is similiar to the login workflow explained above. The difference is in the API and the login flow. In this, the User will be `logged-in` without clicking on login button or Avatar, if they are already `logged-in` in the other sub-domain. By default, this feature is disabled. Enabling, might affect the performance. |
Contributor
There was a problem hiding this comment.
can also mention in one line how it'll affect perf.. because of multiple redirects
Contributor
Author
There was a problem hiding this comment.
Okay. Sure.
ags1773
approved these changes
Oct 20, 2021
Athira001
reviewed
Oct 20, 2021
tutorial/sso-login.md
Outdated
|
|
||
| ``` | ||
| ``` | ||
| <a href="/api/auth/v1/oauth/auto-sso/authorize?client_id=${clientId}&redirect_uri=${redirectUrl}&callback_uri=${uri}&response_type=code"> |
Contributor
There was a problem hiding this comment.
here we need to click it right? it should call when the page loads. And explain about the response 'logged_in=false'
Contributor
Author
There was a problem hiding this comment.
We do not need to click on the login button if already logged in another domain.
Yeah, will add about the response.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added docs for Auto SSO implementation in Malibu Advanced.