title: How to specify the Redirect URI for React Native Bare workflow
body: <p>I've just started building a React Native mobile application with Bare workflow(not using Expo framework).
  I have successfully integrated the login and logout system on my app with react-native-auth0 dependency. However, I am struggling with API Authorization to get the token for the authenticated users in order to control the access to each end point.</p>
  <p>I am following Authorization Code Flow with PKCE based on the Auth0 documentation. I've got almost everything working fine except the redirect uri which was mentioned earlier on the title.</p>
  <p>I tried to use the <code>expo-auth-session</code> dependency to specify the uri manually like below.</p>
  <pre><code>const redirectUri = AuthSession.makeRedirectUri({
      native: `${REDIRECT_URI}`,
      useProxy,
  });
  
  const params = {
      audience: `${AUTH0_API_AUDIENCE}`,
      scope: ['openid', 'profile', 'email', 'offline_access'],
      response_type: 'code',
      client_id: `${AUTH0_CLIENT_ID}`,
      redirect_uri: redirectUri,
      code_challenge: `${code_challenge}`,
      code_challenge_method: 'S256',
      state: `${state}`
  };
  </code></pre>
  <p>However, it returns the error message saying</p>
  <blockquote>
  <p>Error: No default return URL could be found. If you're using the bare workflow, please provide <code>options.returnUrl</code>.
  getDefaultReturnUrl@http://10.0.2.2:8081/index.bundle?platform=android&amp;dev=true&amp;minify=false:179940:24
  startAsync$@http://10.0.2.2:8081/index.bundle?platform=android&amp;dev=true&amp;minify=false:177411:84</p>
  </blockquote>
  <p>I have checked my uri with <code>npx uri-scheme list</code>.
  at the moment, I've got one <code>${applicationId}://</code>.
  Would this be the equivalent to the redirect_uri, wouldn't it?</p>
  <p>I've also have checked <a href="https://github.com/auth0/Auth0.Android" rel="nofollow noreferrer">Auth0.Android</a>.
  However, this one must be related to Android Native App development?!
  Anyway, anyone who has used the same architecture before? Where I can specify the Redirect URI for Android application built with React Native?
  I think the AuthSession API is not supported in Bare workflow. Even though the documentation emphasised, it also articulates the walkthrough for the bare workflow, I gave it a shot. But, it's not working and thrown an error.</p>
  <p>I believe this should be done in a native way?!? Java?? I am struggling to find the solution and not even sure where to look at. I would really appreciate your help! :-)</p>