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 prompt=none authorization param handler #58

Closed
batalla3692 opened this issue Jul 25, 2018 · 1 comment
Closed

Add prompt=none authorization param handler #58

batalla3692 opened this issue Jul 25, 2018 · 1 comment
Milestone

Comments

@batalla3692
Copy link
Contributor

In order to handle SSO authentication, we must perform silent authentication. To do that, the docs point to add a prompt=none to the authorization path.

There is no way to do that dinamically. I can perform silent authentication If I add this to initializers/auth0.rb:

authorize_params: {
	scope: 'openid',
	prompt: 'none'
}

But this will try to perform silent authentication always, and if the user is not logged in then a redirection to the failure callback will be fire.

I need a way to add the prompt param dinamically, so if a user is not logged in I can redirect him to the Auth0 login page. Is that possible?

@batalla3692
Copy link
Contributor Author

I create a pull request #59 to add this functionality.

@joshcanhelp joshcanhelp added this to the v2-Next milestone Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants