mcp: add optional issuer validator for pre-registered client validation (SEP-2352) (#946)
Fixes #978
This commit is contained in:
parent
189a85ad92
commit
dfb45f1e11
1 changed files with 190 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ func TestClientCredentials_ValidateCoversAllAuthFields(t *testing.T) {
|
|||
var pointerFields int
|
||||
for i := range typ.NumField() {
|
||||
f := typ.Field(i)
|
||||
if f.Name == "ClientID" {
|
||||
if f.Name == "ClientID" || f.Name == "Issuer" {
|
||||
continue
|
||||
}
|
||||
if f.Type.Kind() != reflect.Ptr {
|
||||
|
|
|
|||
Loading…
Reference in a new issue