# How to load Login URL from Auth0

**URL:** <https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087>\
**Category:** Get Help\
**Tags:** api, management-api, auth0\
**Created:** [January 16, 2019, 3:00pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087 "2019-01-16T15:00:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naofilms](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/naofilms/32/13584_2.png) [@Naofilms](https://community.auth0.com/u/Naofilms)\
**Post date:** [January 16, 2019, 3:00pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/1 "2019-01-16T15:00:00Z")

</div>

I have integrated Auth0 login before by using ‘WebAuthProvider.init()’ way, but now i have recived a URL from client, and they want to load google sign in page by calling that URL.

I have integrated Auth0 by using followig way.

```
    WebAuthProvider.init(auth0)
            .withScheme("com.aa.aa")
            .withParameters(dataMap)
            .withAudience(String.format("https:/aa/aa/aa",
                    "aaa")
            .withConnection("google-oauth2")
            .withScope("openid profile email offline_access read:current_user update:current_user_metadata")
            .start(activity, webCallback);

```

Now i have recived following URL from client. I am unable to understand how to load following URL to launch Goole Sign in page by using Auth0.

[https://abc-aa.eu.auth0.com/authorize](https://abc-aa.eu.auth0.com/authorize)?  
audience=http%1%1f%aa.aa&  
scope=profile+email+openid&  
response\_type=code&  
client\_id=aaaaaaaaa&  
code\_challenge=aaaaaaaaa&  
code\_challenge\_method=S256&  
redirect\_uri=http%1%1f%aa.aalocalhost&  
connection=google-oauth2

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 16, 2019, 4:33pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/2 "2019-01-16T16:33:16Z")

</div>

Hey @Naofilms, we actually have a doc that details how to connect your app to Google. When you go to test the connection are you experiencing success or is it running into an error? Thanks in advance!

[https://auth0.com/docs/connections/social/google](https://auth0.com/docs/connections/social/google)

---

<div class="post-metadata">

**Author:** ![Naofilms](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/naofilms/32/13584_2.png) [@Naofilms](https://community.auth0.com/u/Naofilms)\
**Post date:** [January 17, 2019, 7:42am UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/5 "2019-01-17T07:42:09Z")

</div>

Thanks @James.Morrison, I am getting callback URL mismatch. Should i ask the client who provided me this URL to add my application package name in the project?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 17, 2019, 6:59pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/6 "2019-01-17T18:59:09Z")

</div>

Following up @Naofilms, during your reseting of your Google Keys for your production app you will be asked to specify your callback URLs. This is important to get the correct communication between your app, Auth0, and Google. You will also need to be sure that the Callback URLs are set correctly on the Auth0 end as well as Google’s side to achieve the desired result. Otherwise we will need to check if the callback error is happening from Google or Auth0. This would give us the next step forward, thanks!

---

<div class="post-metadata">

**Author:** ![Naofilms](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/naofilms/32/13584_2.png) [@Naofilms](https://community.auth0.com/u/Naofilms)\
**Post date:** [January 24, 2019, 9:31am UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/7 "2019-01-24T09:31:56Z")

</div>

Thanks…The issue is fixed

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 24, 2019, 4:28pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/8 "2019-01-24T16:28:46Z")

</div>

I’m glad to hear that the issue has been resolved! Please keep us posted on if you have any questions in the future!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 24, 2019, 6:48pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/9 "2019-01-24T18:48:39Z")

</div>

A post was split to a new message: [Assistance with Topic](https://community.auth0.com/t/assistance-with-topic/20502)

---

<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:** [February 8, 2019, 6:48pm UTC](https://community.auth0.com/t/how-to-load-login-url-from-auth0/20087/10 "2019-02-08T18:48:43Z")

</div>

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