Cannot run on local host after deploying app registered with Azure
Jan 17, 2021 09:25 AM|Binusarathomas@gmail.com|LINK
Hi All,
I am new to the Azure app registration and SSO applications.
I have created anASP.NETWeb forms application with single sign on to MS365. Registered with Azure and published to a local server in company.
Now I cannot continue the development, when I run on localhost, after authentication, it is redirecting to the redirect url mentioned in the app registration for deployment.
I have given both localhost and live url in redirect url section.
how can I continue development/run on localhost without affecting deployment
None
0 Points
2 Posts
Cannot run on local host after deploying app registered with Azure
Jan 17, 2021 09:25 AM|Binusarathomas@gmail.com|LINK
Hi All,
I am new to the Azure app registration and SSO applications.
I have created an ASP.NET Web forms application with single sign on to MS365. Registered with Azure and published to a local server in company.
Now I cannot continue the development, when I run on localhost, after authentication, it is redirecting to the redirect url mentioned in the app registration for deployment.
I have given both localhost and live url in redirect url section.
how can I continue development/run on localhost without affecting deployment
Thanks in advance
Binu
All-Star
58454 Points
15765 Posts
Re: Cannot run on local host after deploying app registered with Azure
Jan 18, 2021 03:31 PM|bruce (sqlwork.com)|LINK
You need to register a new application in azure ad that redirects to localhost and port number. Change setting of the local version to this new appid
None
0 Points
2 Posts
Re: Cannot run on local host after deploying app registered with Azure
Jan 27, 2021 06:02 AM|Binusarathomas@gmail.com|LINK
@bruce
I registered a new application in azure, provided the localhost url in the redirect url.
updated that in web.config
now I get below error when i run in local host
The connection for this site is not secure
localhost sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
All-Star
58454 Points
15765 Posts
Re: Cannot run on local host after deploying app registered with Azure
Jan 29, 2021 03:43 PM|bruce (sqlwork.com)|LINK
You have not setup ssl for your local site.