# Issues setting up Android social authentication

**URL:** <https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289>\
**Category:** Get Help\
**Tags:** android, social-connections\
**Created:** [April 20, 2017, 2:54am UTC](https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289 "2017-04-20T02:54:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre-Jean\_Martin](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Pierre-Jean\_Martin](https://community.auth0.com/u/Pierre-Jean_Martin)\
**Post date:** [April 20, 2017, 2:54am UTC](https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289/1 "2017-04-20T02:54:21Z")

</div>

I have a problem with my social connection. I have Facebook and Google in my lock. When I click on Facebook I get a 500 error code and for google I got a 400 `Error: invalid_scope`.

My callback URL is:

[https://brick-reader.eu.auth0.com/android/com.brick\_reader.brick\_reader/callback](https://brick-reader.eu.auth0.com/android/com.brick_reader.brick_reader/callback)

I don’t understand why it doesn’t work, because in my web app it works.

---

<div class="post-metadata">

**Author:** ![Vikas\_Jayaram](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vikas_jayaram/32/8962_2.png) [@Vikas\_Jayaram](https://community.auth0.com/u/Vikas_Jayaram)\
**Post date:** [April 28, 2017, 11:30am UTC](https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289/2 "2017-04-28T11:30:33Z")

</div>

Can you you share the code and AndroidManifest.xml you are using?  
What target version of android are you using?  
What auth0 sdk version you are using?

---

<div class="post-metadata">

**Author:** ![Pierre-Jean\_Martin](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Pierre-Jean\_Martin](https://community.auth0.com/u/Pierre-Jean_Martin)\
**Post date:** [April 28, 2017, 7:06pm UTC](https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289/3 "2017-04-28T19:06:12Z")

</div>

Hey,

I have found the problem. I’m using lock 2.1 but it’s a old version… So, I passed to lock 2.4 and that work !

Thank you

---

<div class="post-metadata">

**Author:** ![Pierre-Jean\_Martin](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Pierre-Jean\_Martin](https://community.auth0.com/u/Pierre-Jean_Martin)\
**Post date:** [April 28, 2017, 7:06pm UTC](https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289/4 "2017-04-28T19:06:12Z")

</div>

I have found the problem. I’m using lock 2.1 but it’s a old version… So, I passed to lock 2.4 and that works.

---

<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:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/issues-setting-up-android-social-authentication/6289/5 "2018-03-02T05:53:22Z")

</div>


