Android - Use a dynamic domain/host

Is there any way to set the domain/host dynamically? From what I see we either require the manifestPlaceholders with the com_auth0_domain or we can override the RedirectActivity and specify our own data values. However, there doesn’t seem to be a way to set the domain value programmatically.

I’ve tried using Auth0(clientId, domain) but to no avail. It seems that since the RedirectActivity intent is started with the host value that’s specified in the Manifest it doesn’t redirect back to the application. The only “solution” I’ve found is to set the host value to use a wildcard (* however, I’m not 100% satisfied with this and it feels wrong.

On iOS all that’s required is to use the same Auth0 constructor without specifying a value in the .plist

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?