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

Utilise Auth0->Login to ensure state validation #90

Merged
merged 2 commits into from
Mar 8, 2018

Conversation

cocojoe
Copy link
Member

@cocojoe cocojoe commented Dec 5, 2017

Update auth0-PHP dependency

@cocojoe
Copy link
Member Author

cocojoe commented Dec 5, 2017

There is no auth0-PHP 5.1 yet, release that first and can then test this for a quick release.

@cocojoe cocojoe added this to the 5.1.0 milestone Dec 5, 2017
@cocojoe cocojoe changed the base branch from master to 5.x.x-dev December 5, 2017 11:51
@cocojoe cocojoe requested a review from glena December 5, 2017 11:51
@cocojoe
Copy link
Member Author

cocojoe commented Dec 5, 2017

Don't merge.

@@ -51,10 +51,10 @@ public function logout()
/**
* Redirects the user to the hosted login page
*/
public function login($connection = null, $state = null, $aditional_params = ['scope' => 'openid profile email'], $response_type = 'code')
public function login($connection = null, $state = null, $additional_params = ['scope' => 'openid profile email'], $response_type = 'code')
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks at first like a BREAKING CHANGE. Is it just the parameter name, used internally in this method logic or can people actually call this method passing a dictionary with the ${param_name} as keys?

Copy link
Contributor

Choose a reason for hiding this comment

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

@lbalmaceda - No fancy stuff here, just the internal signature.

@joshcanhelp joshcanhelp removed the request for review from glena March 7, 2018 21:24
Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

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

👍

@joshcanhelp joshcanhelp self-assigned this Mar 8, 2018
@joshcanhelp joshcanhelp merged commit 564a437 into 5.x.x-dev Mar 8, 2018
@joshcanhelp joshcanhelp deleted the update-use-auth0-login branch March 8, 2018 17:41
@joshcanhelp joshcanhelp mentioned this pull request Mar 20, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants