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

Use webAuth.login when calling signupAndLogin to support Univeral Login Page #664

Merged
merged 2 commits into from
Feb 14, 2018

Conversation

luisrudge
Copy link
Contributor

IN order to make webauth.client.signupAndLogin support the HLP, we need to make it sure that we call the webauth.login after the signup, since this method will pick the right endpoint to login

@luisrudge luisrudge added this to the v9.2.4 milestone Feb 14, 2018
@@ -2,6 +2,7 @@ var CrossOriginAuthentication = require('./cross-origin-authentication');
var Warn = require('../helper/warn');

function Redirect(auth0, options) {
this.webAuth = auth0;
this.baseOptions = options;
this.client = auth0.client;
Copy link
Contributor

Choose a reason for hiding this comment

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

could this line be removed now, since this.webAuth.client is the same as this.client?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

absolutely. I removed in the next commit

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.

👍

@luisrudge luisrudge merged commit 14d21e7 into master Feb 14, 2018
@luisrudge luisrudge modified the milestones: v9.2.4, v9.2.3 Feb 14, 2018
@luisrudge luisrudge deleted the feature-signuplogin-webauth-login branch February 14, 2018 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants