mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-10-22 00:13:03 +00:00
fix: Update ScopesSupported to match RFC 9728 Section 2
This commit is contained in:
parent
56d969b785
commit
8ca4bb4787
5 changed files with 17 additions and 66 deletions
|
@ -70,12 +70,12 @@ type ResponseConfig struct {
|
|||
}
|
||||
|
||||
type ProtectedResourceMetadata struct {
|
||||
ResourceIdentifier string `yaml:"resource_identifier"`
|
||||
Audience string `yaml:"audience"`
|
||||
ScopesSupported []map[string]interface{} `yaml:"scopes_supported"`
|
||||
AuthorizationServers []string `yaml:"authorization_servers"`
|
||||
JwksURI string `yaml:"jwks_uri,omitempty"`
|
||||
BearerMethodsSupported []string `yaml:"bearer_methods_supported,omitempty"`
|
||||
ResourceIdentifier string `yaml:"resource_identifier"`
|
||||
Audience string `yaml:"audience"`
|
||||
ScopesSupported []string `yaml:"scopes_supported"`
|
||||
AuthorizationServers []string `yaml:"authorization_servers"`
|
||||
JwksURI string `yaml:"jwks_uri,omitempty"`
|
||||
BearerMethodsSupported []string `yaml:"bearer_methods_supported,omitempty"`
|
||||
}
|
||||
|
||||
type PathConfig struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue