I created a script for jwt authentication with zendesk just putting this out there for those that read this
The problem is i keep getting this error after publishing the asp.net application "The reply url specified in the request does not match the reply urls configured for the application"
it will return this same error even if i start a brand new project like so
Open visual studio
Create new project
Select asp.net core web application, select next
Name project
Select create
Select web application (model-view-controller)
Select change under authentication on the right side
Select work or school accounts
Domain name fills in automatically
Select read directory data then select ok
Then select create
after created if i go to debug>start with/without debugging
the website loads, asks for credentials, i sign in it works and takes me to the default asp.net page
everything hunky dory, if i then go to the overview page, select publish, then fill in the information like the name and group and then select publish, it will then open the web address it created, ask for my credentials..as soon as i put them in i get the
exact error in the title
"The reply url specified in the request does not match the reply urls configured for the application"
this is on an unmodified application i put in no additional code i literally left it barebones the way visual studio 2019 created it
i then figured i would log into the azure portal and modify the reply url to match the site url that visual studio created after publishing. it still returns the same error when trying to go to the published site
"The reply url specified in the request does not match the reply urls configured for the application"
if i create a brand new application with no authentication turned on and publish this site the published azure url suddenly works without me having to modify the reply url... im so confused....why cant it work the same way when turning authentication on
during the creation of a new project and then publishing.