# Auth0 authorize return undefined response in callback for android application having multiple flavors

**URL:** <https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146>\
**Category:** Get Help\
**Tags:** react-native-auth0, sdks-quickstarts\
**Created:** [January 10, 2025, 11:37am UTC](https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146 "2025-01-10T11:37:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kajal.sharma](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kajal.sharma/32/59893_2.png) [@kajal.sharma](https://community.auth0.com/u/kajal.sharma)\
**Post date:** [January 10, 2025, 11:37am UTC](https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146/1 "2025-01-10T11:37:52Z")

</div>

My React Native application works fine for iOS but authorize callback have undefined in response for Android. provided Android and iOS both have same package Id and bundle identifier.  
Application have multiple flavors and i have provided manifestPlaceHolder for every app flavor

---

<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:** [January 13, 2025, 6:13pm UTC](https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146/3 "2025-01-13T18:13:18Z")

</div>

Hi @kajal.sharma,

Welcome to the Auth0 Community!

I understand your Android application is returning an `undefined` response on the callback. Could you kindly review these articles:

- [React Native - Issues with Application ID and Custom Scheme on Android](https://community.auth0.com/t/react-native-issues-with-application-id-and-custom-scheme-on-android/136048)
- [Native Mobile App Creation for iOS and Android](https://community.auth0.com/t/native-mobile-app-creation-for-ios-and-android/125500)

Additionally, could you provide a screenshot of the error you are seeing in the app? Do you see any failing logs in the tenant? If so, could you provide an example. As much information as possible will better help me troubleshoot this issue!

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![kajal.sharma](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kajal.sharma/32/59893_2.png) [@kajal.sharma](https://community.auth0.com/u/kajal.sharma)\
**Post date:** [January 14, 2025, 2:04pm UTC](https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146/4 "2025-01-14T14:04:18Z")

</div>

Hi @marybeth.hunter ,

Thank you for the response. I got the root cause of the issue. I have custom domain set on my tenant . The network\_security\_config file is hindering auth0 callback to be received in android application.

I think i need to add auth0 domain certificate and add domain in network\_security\_config in order to receive the callback.

Thanks  
Kajal

---

<div class="post-metadata">

**Author:** ![akaushik](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akaushik/32/61328_2.png) [@akaushik](https://community.auth0.com/u/akaushik)\
**Post date:** [January 17, 2025, 8:05am UTC](https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146/5 "2025-01-17T08:05:34Z")

</div>

Hi @kajal.sharma,

Were you able to fix the issue.

Thanks,  
Anurag

---

<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 31, 2025, 8:05am UTC](https://community.auth0.com/t/auth0-authorize-return-undefined-response-in-callback-for-android-application-having-multiple-flavors/168146/6 "2025-01-31T08:05:52Z")

</div>

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