-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
issue: docs/code exampleIssues about incorrect code examples found on docs.strapi.ioIssues about incorrect code examples found on docs.strapi.io
Description
Link to the documentation page or resource
https://docs.strapi.io/developer-docs/latest/plugins/users-permissions.html#providers
Describe the bug
Auth0 provider documentation example is missing the /redirect in the redirect URL in order to work with the react login example
Additional context
I was trying to setup Auth0 as auth provider for Strapi and encountered that the redirect URL in the documentation is missing the /redirect part, causing the example to not work since the redirect component looks like this
<Route exact path="/connect/:providerName/redirect" component={LoginRedirect} />I created a question on the forum's page here will just link this issue
Suggested improvements or fixes
Add /redirect in the documentation example. This fixed it in my case.
If this is not the intended way please let me know. If it is, then I'll be more than happy to create a PR for it since it took me a bit to figure it out
Related issue(s)/PR(s)
Metadata
Metadata
Assignees
Labels
issue: docs/code exampleIssues about incorrect code examples found on docs.strapi.ioIssues about incorrect code examples found on docs.strapi.io