title: Why does Auth0 login screen does not return to UWP app
body: <p>Using the <a href="https://auth0.com/docs/quickstart/native/windows-uwp-csharp/01-login" rel="nofollow noreferrer">Auth0 UWP sample app</a> as-is I am getting "forbidden" error. </p>
  
  <p>Populating appUri (ms-app//...) to "redirectUri" fixes this issue (code snippet below) and I am able to log in to my Google account using the Auth0 login screen.</p>
  
  <pre><code>string appUri = Windows.Security.Authentication.Web.WebAuthenticationBroker.GetCurrentApplicationCallbackUri().ToString();
  
               Auth0Client client = new Auth0Client(new Auth0ClientOptions
               {
                   Domain = domain,
                   ClientId = clientId,
                   RedirectUri = appUri //added
  
               });
  </code></pre>
  
  <p>Problem is that after the login screen disappears, it does not return to the app. Instead, a Windows App Store prompt is displayed with the message "You'll need a new app to open this ms-app link". </p>
  
  <p><a href="https://i.stack.imgur.com/1cukn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1cukn.png" alt="ms-app link problem"></a></p>
  
  <p>Why is redirect not working?</p>
  
  <p>I am using:</p>
  
  <ul>
  <li>Visual Studio 2019 v16.3.10</li>
  <li>Auth0.OidcClient.UWP v3.1.0</li>
  <li>Microsoft.NETCore.UniversalWindowsPlatform v6.2.9</li>
  </ul>