AzureADQuickStarts / AppModelv2-WebApp-OpenIDConnect-DotNet

ASP.NET Web Server - OpenID Connect v2 Endpoint Sample
Apache License 2.0
96 stars 91 forks source link

Sign out does not work in azure webapp #35

Open tal32123 opened 3 years ago

tal32123 commented 3 years ago

Sign in/sign out work normally in regular app. Sign out does not work in azure webapp. I have set the redirect url in web.config and Front-channel logout URL to various versions of: https://MY_WEBAPP_NAME.azurewebsites.net/ and https://MY_WEBAPP_NAME.azurewebsites.net/signout-oidc/

it worked when it was running locally on localhost, but not online.

Maybe I'm doing something wrong, but the instructions are not clear. Thanks.

jmprieur commented 3 years ago

Did you use App services authentication?

tal32123 commented 3 years ago

I did registration through the webapp if thats what you mean, I'm also able to log into my own tenant and see user details.

Shama-K commented 3 years ago

@tal32123, have you deployed your app on azure app services? Are you getting error on both sign-in and sign-out, and can you also share details about the error?