Don't fail on missing IDtoken in GetGroups
This commit is contained in:
parent
1f7426bd18
commit
7b80d0869a
@ -155,7 +155,7 @@ func (p *AzureProvider) GetGroups(s *sessions.SessionState, f string) (map[strin
|
|||||||
// This option is available through ARM template only.
|
// This option is available through ARM template only.
|
||||||
// For details refer to: https://docs.microsoft.com/pl-pl/azure/active-directory/develop/reference-app-manifest
|
// For details refer to: https://docs.microsoft.com/pl-pl/azure/active-directory/develop/reference-app-manifest
|
||||||
if s.IDToken == "" {
|
if s.IDToken == "" {
|
||||||
return map[string]string{}, errors.New("missing id token")
|
return map[string]string{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type GroupClaims struct {
|
type GroupClaims struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user