davidfowl / TodoApi

Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
MIT License
2.74k stars 411 forks source link

Log out with external auth #71

Closed NielsPilgaard closed 1 year ago

NielsPilgaard commented 1 year ago

Hi👋

I've just managed to make external logout work in my own project, so I thought I'd make it work here as well 😄

I've used HttpContext.SignOutAsync with the external auth scheme to logout. I've verified that it works using Google auth.