mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 01:27:32 +00:00
fix: return authorizations on userinfo (#420)
This commit is contained in:
@@ -79,6 +79,8 @@ func (o *OPStorage) GetUserinfoFromScopes(ctx context.Context, userID string, sc
|
||||
userInfo.Address.Region = user.Region
|
||||
userInfo.Address.PostalCode = user.PostalCode
|
||||
userInfo.Address.Country = user.Country
|
||||
default:
|
||||
userInfo.Authorizations = append(userInfo.Authorizations, scope)
|
||||
}
|
||||
}
|
||||
return userInfo, nil
|
||||
|
Reference in New Issue
Block a user