We are implementing backoffice login through the external provider IdentityServer4. Logging in and everything works great. The client would like it so that when the user selects logout of Umbraco, it also logs out of the external login provider.
When I invoke a logout, it doesn't seem to hit the middleware to logout of the external provider as well. Is this a setting somewhere which needs to be configured? I didn't seem to find this mentioned anywhere in the documentation.
We are using IdentityServer4 for front end authentication as well, and I am able to accomplish the logout of the external provider on logout by specifying the middleware name in the sign out list.
I've made a video in which I explain what you need to do for logout. It's best to watch the complete video, but from 6:11 it's about logout: https://youtu.be/cklH7DtRDIQ?t=371
I have watched your video and tested your sample application. It works well for OpenIdConnect. Do you have any idea how the logout works for Google ?
I successfully added Google sign in for Umbraco members but struggling with sign out. Because it only logs out from Umbraco and doesn't ask for password when member tries to log in again.
Please help.
Logout of External Provider on Backoffice Logout
We are implementing backoffice login through the external provider IdentityServer4. Logging in and everything works great. The client would like it so that when the user selects logout of Umbraco, it also logs out of the external login provider.
When I invoke a logout, it doesn't seem to hit the middleware to logout of the external provider as well. Is this a setting somewhere which needs to be configured? I didn't seem to find this mentioned anywhere in the documentation.
We are using IdentityServer4 for front end authentication as well, and I am able to accomplish the logout of the external provider on logout by specifying the middleware name in the sign out list.
Request.GetOwinContext().Authentication.SignOut(DefaultAuthenticationTypes.ApplicationCookie, DefaultAuthenticationTypes.ExternalCookie, FrontEndIdentityServerAuthConstants.AuthenticationType);
Any ideas?
Hi Alex,
I currently have the same issue. Did you ever got it fixed?
Jeroen
Hi Alex,
I've released a package which demonstrates how you can logout of Umbraco and the external login provider: https://www.jeroenbreuer.nl/blog/released-umbraco-openid-connect-example-package/
I've made a video in which I explain what you need to do for logout. It's best to watch the complete video, but from 6:11 it's about logout: https://youtu.be/cklH7DtRDIQ?t=371
Jeroen
Hi Jeroen,
I have watched your video and tested your sample application. It works well for OpenIdConnect. Do you have any idea how the logout works for Google ? I successfully added Google sign in for Umbraco members but struggling with sign out. Because it only logs out from Umbraco and doesn't ask for password when member tries to log in again. Please help.
Thank you.
is working on a reply...