Skip to content

[Bug]: Auth0 provider documentation incorrect redirect URL  #1510

@oxatruchdev

Description

@oxatruchdev

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)

#81

Metadata

Metadata

Assignees

Labels

issue: docs/code exampleIssues about incorrect code examples found on docs.strapi.io

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions