-
Notifications
You must be signed in to change notification settings - Fork 216
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
Add \Auth0\SDK\Auth0::getLoginUrl() method and switch login() to use it #371
Conversation
9fa8cec
to
0ec5974
Compare
Waiting on a response from the author of auth0/laravel-auth0#140 before I merge this in. Want to make sure it solves that problem. |
* | ||
* @return string | ||
*/ | ||
public function getLoginUrl(array $params = []) |
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.
Does this method need to be public?
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.
Yes. Solves a problem in frameworks that have their own session and redirect handling (see auth0/laravel-auth0#135)
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. |
Changes
\Auth0\SDK\Auth0::getLoginUrl()
to expose a way to build out a login URL.\Auth0\SDK\Auth0::login()
to use this method.References
auth0/laravel-auth0#140
Testing