# Callback URL mismatch The provided redirect\_uri is not in the list of allowed callback URLs

**URL:** <https://community.auth0.com/t/callback-url-mismatch-the-provided-redirect-uri-is-not-in-the-list-of-allowed-callback-urls/133179>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [May 1, 2024, 8:40am UTC](https://community.auth0.com/t/callback-url-mismatch-the-provided-redirect-uri-is-not-in-the-list-of-allowed-callback-urls/133179 "2024-05-01T08:40:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwwheeler](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mwwheeler](https://community.auth0.com/u/mwwheeler)\
**Post date:** [May 1, 2024, 8:40am UTC](https://community.auth0.com/t/callback-url-mismatch-the-provided-redirect-uri-is-not-in-the-list-of-allowed-callback-urls/133179/1 "2024-05-01T08:40:41Z")

</div>

I’m new to Okta and am exploring its potential use in a Blazor app Im developing. Ive generated a sample app from the okta web site but I cant get it to work

Ive setup this in the appsettings.json file

“Auth0”: {  
“Domain”: “the domain supplied”,  
“ClientId”: “the customer Id supplied”

}

I cant see where I’m supposed to setup the Allowed Callback URLs and Allowed Logout URLs in my app. Ive added these in the dashboard (from my dev machine), I’m assuming they need to be in the app as well ? If so, where ? In the appsetting.json file ? If this is the case, what’s the section name, syntax, etc ?  
The error message seems to suggest I need to specify these in my application, If they are specified in the dashboard shouldn’t this work ?

CallBack: [https://localhost:44343](https://localhost:44343)  
Logout: [https://localhost:44343](https://localhost:44343)

\*\*these are the actual URLs from the demo app on my development machine

when I run the demo app I get this error message when I try to log in

“Oops!, something went wrong  
Callback URL mismatch.  
The provided redirect\_uri is not in the list of allowed callback URLs.  
Please go to the Application Settings page and make sure you are sending a valid callback url from your application.”

Im stumped, just cant get this to work, can anyone help ?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 2, 2024, 6:56pm UTC](https://community.auth0.com/t/callback-url-mismatch-the-provided-redirect-uri-is-not-in-the-list-of-allowed-callback-urls/133179/3 "2024-05-02T18:56:33Z")

</div>

Hi @mwwheeler,

The error you encountered states that you have used an incorrect `redirect_uri` value, which does not match any of the callback URLs you have defined.

I have checked your tenant logs and see that this is true. You passed in `https://localhost:7113/callback` in your request.

To remedy this, you can include that URL as part of your list of allowed callback URLs or go to your application code and ensure that the `redirect_uri` references the correct URL.

Let me know how this goes for you.

Cheers,  
Rueben

---

<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:** [May 16, 2024, 6:57pm UTC](https://community.auth0.com/t/callback-url-mismatch-the-provided-redirect-uri-is-not-in-the-list-of-allowed-callback-urls/133179/4 "2024-05-16T18:57:25Z")

</div>

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