# Is it possible to hint the provider (database, social provider etc) before entering the login/signup flow?

**URL:** <https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012>\
**Category:** Get Help\
**Tags:** social-provider, login\
**Created:** [October 8, 2021, 2:24pm UTC](https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012 "2021-10-08T14:24:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel.bradbury](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joel.bradbury/32/25862_2.png) [@joel.bradbury](https://community.auth0.com/u/joel.bradbury)\
**Post date:** [October 8, 2021, 2:24pm UTC](https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012/1 "2021-10-08T14:24:19Z")

</div>

Hi,

I’d like to be able to push users through a signup flow that involves them pre-selecting their signup provider (database/google oauth/slack oauth etc.) outside of the hosted Auth0 universal login views.

For the database option - very doable. Collect the information to our backend, push that through the user api.

For the social providers, I can’t see a way to push the user **direct** to the appropriate providers’ authorisation views. We can only push to the signup view on the universal login page, where the user would then have to click their provider of choice _again_.

My first thought for how this should work was in the same way the `screen_hint` behaves, ie. passing `screen_hint=signup` when moving to the auth0 login, pushes them directly to the signup view.

What I’d imagined was a `signup_hint={provider}` or even `screen_hint=signup:{provider}` (ie. `signup_hint=google-oauth2`) which would achieve this, and when pushing them through the login check, if the appropriate provider was enabled, it would redirect them through to that provider’s auth flow.

Alternatively - if there were a way to directly build up the appropriate provider auth url that _could_ work too (if horrid functionally). ie. on my backend I could build up the string that auth0 does:

`https://accounts.google.com/o/oauth2/auth/identifier?login_hint&response_type=code&redirect_uri=https%3A%2F%2Flogin.eu.auth0.com%2Flogin%2Fcallback&scope=email%20profile&state=...&client_id=...&flowName=...`

_Personally_ - I don’t really want to do this whole external provider select flow, but it’s a request from marketing, and is a fairly common enterprisey signup flow, ie. you can see it in the Atlassian signup flow:

 ![Screenshot 2021-10-08 at 15.20.39](https://global.discourse-cdn.com/auth0/original/3X/5/a/5a30cfb0db074d6450f92698261a934834cbeebc.jpeg)

This would only apply for the signup flow. If it’s absolutely not possible, that’s ok too, but I need to be 100% before we force the flow.

Thanks,  
-Joel

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 8, 2021, 5:30pm UTC](https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012/3 "2021-10-08T17:30:58Z")

</div>

Hi @joel.bradbury,

Welcome to the Auth0 Community!

If I understand correctly, you would like to direct a user to an external IdP (e.g. Google) and bypass the Auth0 login widget.

You should be able to pass a `connection` param with your request to /authorize and bypass the widget that way.

Documented here:  
[https://auth0.com/docs/api/authentication#social](https://auth0.com/docs/api/authentication#social)  
Let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![joel.bradbury](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joel.bradbury/32/25862_2.png) [@joel.bradbury](https://community.auth0.com/u/joel.bradbury)\
**Post date:** [October 8, 2021, 5:49pm UTC](https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012/4 "2021-10-08T17:49:51Z")

</div>

Perfect. That’s exactly the flow I needed.

Sorry if I missed that in the docs.

Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 8, 2021, 7:17pm UTC](https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012/5 "2021-10-08T19:17:07Z")

</div>

No problem! Glad we found an answer.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 23, 2021, 7:17pm UTC](https://community.auth0.com/t/is-it-possible-to-hint-the-provider-database-social-provider-etc-before-entering-the-login-signup-flow/71012/6 "2021-10-23T19:17:59Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
