# What should RedirectUri be set to?

**URL:** <https://community.auth0.com/t/what-should-redirecturi-be-set-to/112897>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [August 4, 2023, 12:47pm UTC](https://community.auth0.com/t/what-should-redirecturi-be-set-to/112897 "2023-08-04T12:47:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shea](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shea/32/8903_2.png) [@shea](https://community.auth0.com/u/shea)\
**Post date:** [August 4, 2023, 12:47pm UTC](https://community.auth0.com/t/what-should-redirecturi-be-set-to/112897/1 "2023-08-04T12:47:51Z")

</div>

We are using Auth0 with a [Asp.Net](http://Asp.Net) web application. I notice that in our `UseOpenIdConnectAuthentication()` we are setting `OpenIdConnectAuthenticationOptions.RedirectUri` to `https://ourapplication.com/signin-auth0`.

That route doesn’t exist in our system. What exactly is the `RedirectUri`? Is that the URL the user gets redirected to after authentication? If this is the case, I should change it to a valid (authenticated) URL within our application. We have likely never experience an issue with this being an issue because all of our login flows set the `AuthenticationProperties.RedirectUri` property.

Is my assumption correct?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [August 4, 2023, 6:25pm UTC](https://community.auth0.com/t/what-should-redirecturi-be-set-to/112897/3 "2023-08-04T18:25:50Z")

</div>

Hey there @shea !

> [@shea](#):
>
> What exactly is the `RedirectUri`? Is that the URL the user gets redirected to after authentication?

This is exactly correct - The `RedirectUri` is indeed where users are redirected upon successful authentication at Auth0. Essentially, the `redirect_uri` parameter is added in the [authorize request](https://auth0.com/docs/authenticate/protocols/oauth#authorization-endpoint), and the value set must be an [allowed callback url](https://auth0.com/docs/authenticate/login/redirect-users-after-login#redirect-users-to-callback-urls-on-the-allowlist) in the application settings in Auth0.

Hope this helps to clarify!

---

<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:** [August 24, 2023, 1:04am UTC](https://community.auth0.com/t/what-should-redirecturi-be-set-to/112897/4 "2023-08-24T01:04:17Z")

</div>

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