You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking the same thing and ended up copying the whole function and commenting the defer Logout() line. I also moved the validateState(...) check after FetchUser(...) to let CompleteUserAuth(...) work for already logged-in users like in the main example.
goth/gothic/gothic.go
Line 180 in f4685f5
func CompleteUserAuth
In this function, why is there a defer to Logout?
I've been trying to figure out why my use of gothic is returning a cookie (
_gothic_session
) with an expires of"1970-01-01T00:00:01.000Z"
.The text was updated successfully, but these errors were encountered: