User-configurable claims_supported

This commit is contained in:
snow flurry 2023-12-03 15:19:29 -08:00
parent 4d05eade5e
commit 3bb48f7cba
6 changed files with 60 additions and 29 deletions

View file

@ -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",