Redirect error for hosted blazor app using Azure App Services

I have migrated an hosted blazor wasm application to Azure App Services. When authenticating from the Blazor app I am getting a url redirect error (Callback URL mismatch.
The provided redirect_uri is not in the list of allowed callback URLs.). I have entered the custom domain name in the appropriate sections on the Auth0 setup pages. I setup the application within the past 4 months and I assume that it is using the universal login form. Authentication has been working flawlessly while I have been testing from localhost and another local url. Is this an issue with Azure App Services or am I missing something else.


You might need to specify the callback as an option param in your Program.cs file, making sure it’s the same as in your Auth0’s app settings. See below.

1 Like