Skip to content
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

Merged
merged 7 commits into from
Aug 13, 2020
Merged

replace login-react app #164

merged 7 commits into from
Aug 13, 2020

Conversation

petersg83
Copy link
Contributor

Should be merged along with strapi/strapi#7132

Signed-off-by: Pierre Noël <petersg83@gmail.com>
login-react/README.md Show resolved Hide resolved
login-react/src/config.js Outdated Show resolved Hide resolved
login-react/src/App.js Outdated Show resolved Hide resolved
login-react/src/pages/Home.js Outdated Show resolved Hide resolved
login-react/src/pages/Home.js Show resolved Hide resolved
login-react/src/pages/LoginRedirect.js Outdated Show resolved Hide resolved
Signed-off-by: Pierre Noël <petersg83@gmail.com>
@petersg83 petersg83 requested a review from soupette July 27, 2020 14:14
Signed-off-by: Pierre Noël <petersg83@gmail.com>
login-react/src/App.js Show resolved Hide resolved
Signed-off-by: Pierre Noël <petersg83@gmail.com>
@petersg83 petersg83 requested a review from soupette July 27, 2020 16:06
login-react/src/App.js Outdated Show resolved Hide resolved
login-react/src/HOCs/authRequired.js Outdated Show resolved Hide resolved
Signed-off-by: Pierre Noël <petersg83@gmail.com>
login-react/src/layouts/ProtectedRoute.js Outdated Show resolved Hide resolved
login-react/src/config.js Outdated Show resolved Hide resolved
Signed-off-by: Pierre Noël <petersg83@gmail.com>
@petersg83 petersg83 requested a review from soupette July 29, 2020 14:37
Copy link
Contributor

@soupette soupette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derrickmehaffy
Copy link
Member

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).

Copy link
Member

@derrickmehaffy derrickmehaffy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


**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
Copy link
Member

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
Copy link
Member

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)

Signed-off-by: Pierre Noël <petersg83@gmail.com>
@petersg83 petersg83 merged commit 219e36b into master Aug 13, 2020
@petersg83 petersg83 deleted the replaceLoginApp branch August 17, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants