mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
internal/identity: fix bug in azure preventing group retrieval
This commit is contained in:
parent
989062db8e
commit
b2754fd822
4 changed files with 8 additions and 8 deletions
|
@ -304,7 +304,6 @@ func (a *Authenticate) ExchangeToken(w http.ResponseWriter, r *http.Request) {
|
|||
httputil.ErrorResponse(w, r, &httputil.Error{Code: http.StatusInternalServerError, Message: "could not exchange identity for session"})
|
||||
return
|
||||
}
|
||||
log.Info().Interface("session", session).Msg("Session")
|
||||
if err := a.restStore.SaveSession(w, r, session); err != nil {
|
||||
log.Error().Err(err).Msg("authenticate: failed returning new session")
|
||||
httputil.ErrorResponse(w, r, &httputil.Error{Code: http.StatusInternalServerError, Message: "authenticate: failed returning new session"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue