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

Add screen_hint to allowed parameters #1093

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

tomaszn
Copy link
Contributor

@tomaszn tomaszn commented Mar 30, 2020

Changes

This PR adds support for new "screen_hint" option, which allows showing the signup page instead of the signin page; fixes #1092.

References

Feature description: https://auth0.com/docs/universal-login/new#signup.
Documentation needs to be updated: https://auth0.com/docs/libraries/auth0js/v9#webauth-authorize-.

Testing

The typical usage looks as follows:

webauth.authorize({screen_hint: 'signup'})

Sign Up tab should be displayed on the Universal Login Page.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@stevehobbsdev
Copy link
Contributor

Thanks @tomaszn, and thanks for pointing out the discrepancy with the docs!

@stevehobbsdev stevehobbsdev added this to the vNext milestone Apr 1, 2020
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.

authorize() doesn't support screen_hint
2 participants