# Facing issue with custom login

**URL:** <https://community.auth0.com/t/facing-issue-with-custom-login/124008>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [January 3, 2024, 1:40am UTC](https://community.auth0.com/t/facing-issue-with-custom-login/124008 "2024-01-03T01:40:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pj210493](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pj210493/32/48886_2.png) [@pj210493](https://community.auth0.com/u/pj210493)\
**Post date:** [January 3, 2024, 1:40am UTC](https://community.auth0.com/t/facing-issue-with-custom-login/124008/1 "2024-01-03T01:40:03Z")

</div>

I am trying to do custom Login using this api in my Android App.  
https://{yourDomain}/oauth/token but it gives me 500 error, Can anyone help me?  
[size=107 text={“error”:“server\_error”,“error\_description”:"Authorization serve…]

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [January 3, 2024, 4:14pm UTC](https://community.auth0.com/t/facing-issue-with-custom-login/124008/2 "2024-01-03T16:14:24Z")

</div>

Hi @pj210493

Welcome back to the Auth0 Community!

Please Try to do this and let me know if this worked:  
Go to Settings → API Authorization Settings → Default Directory  
Insert `Username-Password-Authentication` and save, it should take around 30 secs

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![pj210493](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pj210493/32/48886_2.png) [@pj210493](https://community.auth0.com/u/pj210493)\
**Post date:** [January 4, 2024, 12:51am UTC](https://community.auth0.com/t/facing-issue-with-custom-login/124008/3 "2024-01-04T00:51:21Z")

</div>

Yes, It worked. Thanks.

---

<div class="post-metadata">

**Author:** ![pj210493](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pj210493/32/48886_2.png) [@pj210493](https://community.auth0.com/u/pj210493)\
**Post date:** [January 9, 2024, 2:12am UTC](https://community.auth0.com/t/facing-issue-with-custom-login/124008/4 "2024-01-09T02:12:16Z")

</div>

One more doubt after signup without email verification if i call this api it doesn’t give any error like email is not verified.  
Do we have separate api for that?

---

<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:** [January 23, 2024, 2:13am UTC](https://community.auth0.com/t/facing-issue-with-custom-login/124008/5 "2024-01-23T02:13:01Z")

</div>

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