# Need to add multiple domains in one flutter app for android is that possible? if yes then how?

**URL:** <https://community.auth0.com/t/need-to-add-multiple-domains-in-one-flutter-app-for-android-is-that-possible-if-yes-then-how/123143>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [December 15, 2023, 6:14am UTC](https://community.auth0.com/t/need-to-add-multiple-domains-in-one-flutter-app-for-android-is-that-possible-if-yes-then-how/123143 "2023-12-15T06:14:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahil.devherds](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sahil.devherds/32/52420_2.png) [@sahil.devherds](https://community.auth0.com/u/sahil.devherds)\
**Post date:** [December 15, 2023, 6:14am UTC](https://community.auth0.com/t/need-to-add-multiple-domains-in-one-flutter-app-for-android-is-that-possible-if-yes-then-how/123143/1 "2023-12-15T06:14:45Z")

</div>

Need to add multiple domains in one flutter app for android is that possible? if yes then how?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [December 15, 2023, 11:37pm UTC](https://community.auth0.com/t/need-to-add-multiple-domains-in-one-flutter-app-for-android-is-that-possible-if-yes-then-how/123143/2 "2023-12-15T23:37:00Z")

</div>

Hey there @sahil.devherds welcome to the community!

As far as I’m aware this should be possible - Please take a look at this GH issue:

> <https://github.com/auth0/auth0-flutter/issues/265>
>
> \### Checklist
> 
> \- \[X\] The issue can be reproduced in the \[auth0\_flutter sample …app\](https://github.com/auth0-samples/auth0-flutter-samples/tree/main/sample) (or N/A).
> \- \[X\] I have looked into the \[README\](https://github.com/auth0/auth0-flutter/tree/main/auth0\_flutter#readme) and have not found a suitable solution or answer.
> \- \[X\] I have looked into the \[API documentation\](https://pub.dev/documentation/auth0\_flutter/latest/) and have not found a suitable solution or answer.
> \- \[X\] I have searched the \[issues\](https://github.com/auth0/auth0-flutter/issues) and have not found a suitable solution or answer.
> \- \[X\] I have searched the \[Auth0 Community\](https://community.auth0.com/c/sdks/5) forums and have not found a suitable solution or answer.
> \- \[X\] I agree to the terms within the \[Auth0 Code of Conduct\](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
> 
> \### Description
> 
> When using this package in Android we have to specify the Auth0 domain in the build.gradle file like:
> \`manifestPlaceholders\['auth0Domain'\] = "xyz.us.auth0.com"\`
> 
> We have multiple domains that we use for dynamically changed namespaces such as EU/US. The particular domain is not known at compile time, and the user can change it on the login page within the app (before they are presented with the Auth0 web-view to login). Because of this we are having difficulty getting login to work using this package.
> 
> I did notice there were some similar issues raised for other Auth0 projects:
> \- https://github.com/auth0/Auth0.Android/issues/333
> \- https://github.com/auth0/react-native-auth0/issues/421
> 
> How can we overcome this issue in order to be able to migrate to this official package, any help is greatly appreciated.
> 
> 
> \### Reproduction
> 
> Please see description.
> 
> \### auth0\_flutter version
> 
> 1.1.0
> 
> \### Flutter version
> 
> 3.7.6
> 
> \### Platform
> 
> Android
> 
> \### Platform version(s)
> 
> 13

---

<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:** [December 29, 2023, 11:37pm UTC](https://community.auth0.com/t/need-to-add-multiple-domains-in-one-flutter-app-for-android-is-that-possible-if-yes-then-how/123143/4 "2023-12-29T23:37:35Z")

</div>

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