-
Notifications
You must be signed in to change notification settings - Fork 659
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
replace login-react app #164
Conversation
Signed-off-by: Pierre Noël <petersg83@gmail.com>
Signed-off-by: Pierre Noël <petersg83@gmail.com>
Signed-off-by: Pierre Noël <petersg83@gmail.com>
Signed-off-by: Pierre Noël <petersg83@gmail.com>
Signed-off-by: Pierre Noël <petersg83@gmail.com>
0e83406
to
7b19082
Compare
Signed-off-by: Pierre Noël <petersg83@gmail.com>
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.
LGTM
So before I review the code, was trying to talk a user through this, I think it would be helpful to make a Miro flow diagram to roughly go over the redirect process from start to finish (from the initial /connect/:provider to the final JWT response). |
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.
LGTM
login-react/README.md
Outdated
|
||
**14 -** [Enable VK provider](./doc/vk_setup.md) | ||
**4 —** Configure one or several providers by following the instructions there: https://strapi.io/documentation/v3.x/plugins/users-permissions.html#providers |
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.
... follow the instructions here:
|
||
useEffect(() => { | ||
// Successfully logged with the provider | ||
// Now logging with strapi by using the access_token in props.location.search |
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.
Make a note this access_token comes from the provider (we want it to be as clear as possible)
Should be merged along with strapi/strapi#7132