# UWP "you'll need a new app.." error

**URL:** <https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304>\
**Category:** Get Help\
**Tags:** login\
**Created:** [November 27, 2019, 12:15am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304 "2019-11-27T00:15:58Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dejannk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dejannk/32/12814_2.png) [@dejannk](https://community.auth0.com/u/dejannk)\
**Post date:** [November 27, 2019, 12:15am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/1 "2019-11-27T00:15:58Z")

</div>

Hi  
Using the UWP sample app as-is I am getting “forbidden” error.  
Populating appUri (ms-app//…) to “redirectUri” fixes this issue (code snipped below) and I am able to log in to my google account using the Auth0 login screen.

Problem is that after the login screen disappears, I am not returned to the app. Instead, a Windows App Store prompt is displayed with the message “You’ll need a new app…”.

Please help.

> string appUri = Windows.Security.Authentication.Web.WebAuthenticationBroker.GetCurrentApplicationCallbackUri().ToString();
> 
> ```
> Auth0Client client = new Auth0Client(new Auth0ClientOptions
> {
> Domain = domain,
> ClientId = clientId,
> RedirectUri = appUri
>             
> });
> 
> ```

Regards  
Dejan

---

<div class="post-metadata">

**Author:** ![dejannk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dejannk/32/12814_2.png) [@dejannk](https://community.auth0.com/u/dejannk)\
**Post date:** [November 27, 2019, 8:45pm UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/2 "2019-11-27T20:45:27Z")

</div>

Looks like Auth0.OidcClient.UWP v3.1.0 is broken  
Works in 2.40  
Others can replicate

> <https://stackoverflow.com/questions/59061591/why-does-auth0-login-screen-does-not-return-to-uwp-app>

Can someone from Auth0 please have a look?

Regards

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 28, 2019, 1:09pm UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/4 "2019-11-28T13:09:20Z")

</div>

Hey there!

Welcome in our community!

Thank you a lot for reporting that. Can you share here the link to the quickstart you used? Thank you!

---

<div class="post-metadata">

**Author:** ![dejannk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dejannk/32/12814_2.png) [@dejannk](https://community.auth0.com/u/dejannk)\
**Post date:** [November 28, 2019, 9:56pm UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/5 "2019-11-28T21:56:27Z")

</div>

> **[Auth0 UWP SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/windows-uwp-csharp/01-login)**
>
> This tutorial demonstrates how to add user login to a UWP C# application using Auth0.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 29, 2019, 10:24am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/6 "2019-11-29T10:24:59Z")

</div>

Thank you @dejannk for reporting it!

Indeed it seems like there’s a problem with higher version. The additional problem we have here is that repo is not Auth0 maintained but it’s maintained by community developer volunteers so let’s say it’s not that actively being worked on. Can I ask you to open a GitHub issue in that repo explaining the same things as here so I can pass it to our DX-SDKs team so they can potentially look at it and implement a fix? Thank you!

---

<div class="post-metadata">

**Author:** ![dejannk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dejannk/32/12814_2.png) [@dejannk](https://community.auth0.com/u/dejannk)\
**Post date:** [November 30, 2019, 9:18pm UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/7 "2019-11-30T21:18:04Z")

</div>

Can you please post a URL?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 2, 2019, 7:38am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/8 "2019-12-02T07:38:55Z")

</div>

Here’s the link to the quickstart repo:

> **[GitHub - auth0-samples/auth0-uwp-oidc-samples: Auth0 OIDC Client with UWP...](https://github.com/auth0-samples/auth0-uwp-oidc-samples)**
>
> Auth0 OIDC Client with UWP applications. Contribute to auth0-samples/auth0-uwp-oidc-samples development by creating an account on GitHub.

Once you open a GitHub issue make sure to share it in this thread. Thank you!

---

<div class="post-metadata">

**Author:** ![dejannk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dejannk/32/12814_2.png) [@dejannk](https://community.auth0.com/u/dejannk)\
**Post date:** [December 3, 2019, 10:12pm UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/9 "2019-12-03T22:12:17Z")

</div>

Sorry, I’m confused. This is where I logged the issue in the first place.  
I thought you wanted me to log it somewhere else as well?

This is the gitHub issue I logged a few days ago:  
[https://github.com/auth0-community/auth0-uwp-oidc-samples/issues/13](https://github.com/auth0-community/auth0-uwp-oidc-samples/issues/13)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 4, 2019, 11:36am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/10 "2019-12-04T11:36:26Z")

</div>

Thank you. As I’ve said the repo is community not Auth0 maintained but our devs sometimes take a look at it when the bandwidth allows to do so. I will ping my friend and see if he can give it a glimpse!

---

<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 19, 2019, 11:36am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/11 "2019-12-19T11:36:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DamienG](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/damieng/32/15188_2.png) [@DamienG](https://community.auth0.com/u/DamienG)\
**Post date:** [February 5, 2020, 6:38am UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/12 "2020-02-05T06:38:46Z")

</div>

The UWP Sample has now been updated to Auth0.OidcClient.UWP v3.1 and tested okay here.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 5, 2020, 12:31pm UTC](https://community.auth0.com/t/uwp-youll-need-a-new-app-error/34304/13 "2020-02-05T12:31:04Z")

</div>

Thanks for the headsup @DamienG!
