# How can I navigate directly to a specific provider's login page in Auth0?

**URL:** <https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409>\
**Category:** Get Help\
**Tags:** identifier-first, login-experience\
**Created:** [November 13, 2024, 7:41am UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409 "2024-11-13T07:41:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gouthami.shivakoti](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gouthami.shivakoti/32/62063_2.png) [@gouthami.shivakoti](https://community.auth0.com/u/gouthami.shivakoti)\
**Post date:** [November 13, 2024, 7:41am UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/1 "2024-11-13T07:41:38Z")

</div>

I am trying to login to my application using identifier first and email provider. I disabled Username-Password-Authentication. I have given my gmail id and it is asking for code to login.

However, I’d like it to automatically navigate to the Gmail login page when I enter my Gmail address. How can I make this happen?

---

<div class="post-metadata">

**Author:** ![gouthami.shivakoti](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gouthami.shivakoti/32/62063_2.png) [@gouthami.shivakoti](https://community.auth0.com/u/gouthami.shivakoti)\
**Post date:** [November 13, 2024, 9:46am UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/3 "2024-11-13T09:46:22Z")

</div>

@auth0communityuser @lihua.zhang @marybeth.hunter kindly help me on this

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 13, 2024, 2:55pm UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/5 "2024-11-13T14:55:47Z")

</div>

Hi @gouthami.shivakoti,

Welcome to the Auth0 Community!

To navigate directly to a specific connection, you can add the `connection` parameter to your `/authorize` request. For Google, this will be `connection=google-oauth2`.

It will look something like this: `https://YOUR_TENANT.us.auth0.com/authorize?client_id=CLIENT_ID&response_type=code&scope=openid+profile+email&redirect_uri=REDIRECT_URI&prompt=login&connection=google-oauth2`

Doc on parameters for `/authorize` requests: [Add Login Using the Authorization Code Flow](https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow/add-login-auth-code-flow#parameters)

Please let me know if you have any additional questions!

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![gouthami.shivakoti](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gouthami.shivakoti/32/62063_2.png) [@gouthami.shivakoti](https://community.auth0.com/u/gouthami.shivakoti)\
**Post date:** [November 15, 2024, 11:20am UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/6 "2024-11-15T11:20:56Z")

</div>

Hi @marybeth.hunter,

Thank you for your response. I tried the code, and I am now able to navigate to the Gmail login page. Currently, I am implementing this locally, so my `redirect_url` is set to `'http://localhost:4200'`. However, after entering the email and password, the redirection is not happening as expected. In the `/authorize` endpoint, the `redirect_uri` is being sent as `undefined`.

I have verified that `'http://localhost:4200'` is correctly configured as one of the Allowed Callback URLs in my application settings.

Could you please help me resolve this issue?

---

<div class="post-metadata">

**Author:** ![gouthami.shivakoti](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gouthami.shivakoti/32/62063_2.png) [@gouthami.shivakoti](https://community.auth0.com/u/gouthami.shivakoti)\
**Post date:** [November 15, 2024, 12:36pm UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/7 "2024-11-15T12:36:13Z")

</div>

I am now able to navigate to the redirect URI, and after entering the email ID, it redirects to the Gmail login page. How can I directly navigate to the Gmail password page?

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 15, 2024, 6:47pm UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/8 "2024-11-15T18:47:26Z")

</div>

Hi @gouthami.shivakoti,

I am happy to hear that this has helped you directly send users to the Google social login and that you successfully get redirected back to your localhost URL. You cannot send users directly to Google’s password page - adding the `connection=google-oauth2` is the closest you can get presently. When sending users to an external IdP, what is shown on the IdP side is out of Auth0’s control.

Let me know if you have any additional questions!

Thanks,

Mary Beth

---

<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:** [November 29, 2024, 6:48pm UTC](https://community.auth0.com/t/how-can-i-navigate-directly-to-a-specific-providers-login-page-in-auth0/151409/9 "2024-11-29T18:48:17Z")

</div>

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