Skip to content

Commit

Permalink
fix: Add offline_access to discovery supported scoped
Browse files Browse the repository at this point in the history
Signed-off-by: sawadashota <xiootas@gmail.com>
  • Loading branch information
sawadashota committed May 24, 2020
1 parent f557c9a commit f173e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/configuration/provider_viper.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func (v *ViperProvider) OIDCDiscoverySupportedClaims() []string {
func (v *ViperProvider) OIDCDiscoverySupportedScope() []string {
return stringslice.Unique(
append(
[]string{"offline", "openid"},
[]string{"offline_access", "offline", "openid"},
viperx.GetStringSlice(v.l, ViperKeyOIDCDiscoverySupportedScope, []string{}, "OIDC_DISCOVERY_SCOPES_SUPPORTED")...,
),
)
Expand Down

0 comments on commit f173e3f

Please sign in to comment.