auth0 / react-native-auth0

React Native toolkit for Auth0 API
https://auth0.com
MIT License
481 stars 206 forks source link

Can't configure library for multi-tenant #911

Open jnjdev42 opened 4 months ago

jnjdev42 commented 4 months ago

Checklist

Description

I followed auth0 documentation and it seems we can't configure the library for multi tenant with mulmti domain and multi redirect uri.

Reproduction

  1. Configure auth0 with adding this line in build.gradle :
  2. manifestPlaceholders = [auth0Domain: "domain", auth0Scheme: "${applicationId}.auth0"]

Additional context

I tried to remove manifestPlaceholders to add multiple data intent filter into manifest. But, application not compiling. Because it needs manifestPlaceholders "auth0domain" to compile.

react-native-auth0 version

v3.2.1

React Native version

0.74.1

Expo version

No response

Platform

Android

Platform version(s)

14

brth31 commented 4 months ago

@jnjdev42 this is a potential duplicate of https://github.com/auth0/react-native-auth0/issues/747

jnjdev42 commented 3 months ago

@jnjdev42 this is a potential duplicate of #747

No. The problem for me is about redirections after login and after logout. Moreover, the problem is to set "static" value inside gradle for a domain. Which is not what I am looking for, as I work with different domains.