Skip to content

Commit

Permalink
fix: do not error when groups unable to retrieve
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlakis committed Dec 23, 2024
1 parent 4e4da75 commit 6b0a955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/ms_entra_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ func (p *MicrosoftEntraIDProvider) addGraphGroupsToSession(ctx context.Context,
UnmarshalSimpleJSON()

if err != nil {
return fmt.Errorf("invalid response from microsoft graph, no groups added to session: %v", err)
logger.Errorf("invalid response from microsoft graph, no groups added to session: %v", err)
return nil
}
reqGroups := response.Get("value").MustArray()

Expand Down

0 comments on commit 6b0a955

Please sign in to comment.