User-configurable claims_supported
This commit is contained in:
parent
4d05eade5e
commit
3bb48f7cba
6 changed files with 60 additions and 29 deletions
|
@ -544,7 +544,11 @@ func TestSupportedClaims(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
"scopes",
|
||||
args{},
|
||||
args{func() op.Configuration {
|
||||
m := mock.NewMockConfiguration(gomock.NewController(t))
|
||||
m.EXPECT().SupportedClaims().Return(op.DefaultSupportedClaims)
|
||||
return m
|
||||
}()},
|
||||
[]string{
|
||||
"sub",
|
||||
"aud",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue