core/authenticate: refactor idp sign out

This commit is contained in:
Caleb Doxsey 2023-09-19 16:27:02 -06:00
parent 9088f07cc9
commit f649d9b1bc
11 changed files with 245 additions and 79 deletions

View file

@ -245,9 +245,9 @@ func (p *Provider) GetSignInURL(state string) (string, error) {
return p.Oauth.AuthCodeURL(state, oauth2.AccessTypeOffline), nil
}
// LogOut is not implemented by github.
func (p *Provider) LogOut() (*url.URL, error) {
return nil, oidc.ErrSignoutNotImplemented
// GetSignOutURL is not implemented.
func (p *Provider) GetSignOutURL(idTokenHint, redirectToURL string) (string, error) {
return "", oidc.ErrSignoutNotImplemented
}
// Name returns the provider name.