internal/oauthex: add dynamic client registration (#519)
This CL implements https://www.rfc-editor.org/rfc/rfc7591.html See https://github.com/modelcontextprotocol/typescript-sdk/blob/main/src/client/auth.ts as a reference. For #493
This commit is contained in:
parent
ab092510d2
commit
294e1f360c
1 changed files with 418 additions and 0 deletions
8
internal/oauthex/testdata/client-auth-meta.json
vendored
Normal file
8
internal/oauthex/testdata/client-auth-meta.json
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"client_name": "My Test App",
|
||||
"redirect_uris": [
|
||||
"https://client.example.org/callback",
|
||||
"https://client.example.org/callback2"
|
||||
],
|
||||
"scope": "read write"
|
||||
}
|
||||
Loading…
Reference in a new issue