-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[2.8] Add "How to Use Multiple Guard Authenticators" cookbook documentation #5886
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
Changes from 1 commit
bad8468
95135ae
eeeb57b
37fccf8
ea3c900
a2ca764
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ method should be called when an anonymous user hits a page that requires authent | |
|
||
Multiple authenticators with shared entry point | ||
----------------------------------------------- | ||
|
||
Let's have an example of two authenticators: one based on login form, another one on facebook login. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing empty line before this line |
||
Both authenticators entry points redirect user to the same login page. | ||
However, in your configuration you have to explicitly say which entry point you want to use. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We avoid the first person perspective in the docs. Thus, I would reword this paragraph to something like the following:
|
||
|
@@ -75,6 +76,7 @@ There is one limitation with this approach - you have to use exactly one entry p | |
|
||
Multiple authenticators with separate entry points | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Multiple Authenticators with separate Entry Points |
||
-------------------------------------------------- | ||
|
||
Let's now have an example of two different authenticators: one based on login form, another one on an API token.< 755A /td> | ||
When user hits secured area he should be redirected to the login page. | ||
Also when user hits an API endpoint, he should get a relevant API response. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would replace "Also when user hits[...]" with "But when a user hits [...]". We also use the gender-neutral form in the docs, please replace "he should get a relevant API response" with "they should get [...]". |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
due to how we capitalise headlines this should be "Multiple Authenticators with a Shared Entry Point"