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

Document that v8 login won't redirect anymore #585

Merged
merged 3 commits into from
Dec 8, 2021
Merged

Conversation

BGehrels
Copy link
Contributor

Changes

In v7, Auth0::login() included header('Location: '.$login_url); exit;. v8 now instead returns the login URL and it's up to the application to actually execute the redirect. This should be explicitly documented in the UPGRADE guidance.

References

No issues to reference, just a small clarification in the docs

Testing

Just documentation changes, no test neccessary

Contributor Checklist

In v7, `Auth0::login()` included `header('Location: '.$login_url); exit;`. v8 now instead returns the login URL and it's up to the application to actually execute the redirect. This should be explicitly documented in the UPGRADE guidance.
@BGehrels BGehrels requested a review from a team as a code owner November 23, 2021 14:27
Copy link
Member

@evansims evansims left a comment

Choose a reason for hiding this comment

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

Thanks for the suggestion! I've tweaked the wording a bit. Good call on pointing this out in the guide 👍

@evansims evansims merged commit cedf091 into auth0:main Dec 8, 2021
@evansims evansims added the Scope: Documentation Improvements the README, examples, or other documentation. label Dec 8, 2021
@evansims evansims mentioned this pull request Dec 13, 2021
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Documentation Improvements the README, examples, or other documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants