in the example code I see that we send the URL param for provider in the logout request
p.Get("/logout/{provider}", func(res http.ResponseWriter, req *http.Request) {
gothic.Logout(res, req)
res.Header().Set("Location", "/")
res.WriteHeader(http.StatusTemporaryRedirect)
})
But I tried to do the same thing without passing the provider and the result seems to be identical. Am I missing something?
My usecase is trying to simplify logout logic when working with multiple providers.