Skip to content

Commit 5fcd46f

Browse files
deploy: d9c6f8f
1 parent 9074f9e commit 5fcd46f

1 file changed

Lines changed: 31 additions & 58 deletions

File tree

openapi/pr-113/api-docs.json

Lines changed: 31 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,16 @@
173173
{
174174
"name": "prompt",
175175
"in": "query",
176-
"description": "Space-delimited user interaction prompts (OIDC). Allowed tokens: none, login, consent, select_account. \"none\" cannot be combined with others. Example: \"login consent\"",
176+
"description": "Space-delimited user interaction prompts (OIDC)",
177177
"required": false,
178178
"schema": {
179-
"type": "string"
179+
"type": "string",
180+
"enum": [
181+
"none",
182+
"login",
183+
"consent",
184+
"select_account"
185+
]
180186
}
181187
},
182188
{
@@ -488,7 +494,12 @@
488494
}
489495
}
490496
}
491-
}
497+
},
498+
"security": [
499+
{
500+
"OAuth2ProviderSecurity": []
501+
}
502+
]
492503
}
493504
},
494505
"/oauth2/token/revoke": {
@@ -526,6 +537,9 @@
526537
}
527538
},
528539
"security": [
540+
{
541+
"OAuth2ProviderClientBasic": []
542+
},
529543
{
530544
"OAuth2ProviderSecurity": []
531545
}
@@ -574,6 +588,9 @@
574588
}
575589
},
576590
"security": [
591+
{
592+
"OAuth2ProviderClientBasic": []
593+
},
577594
{
578595
"OAuth2ProviderSecurity": []
579596
}
@@ -608,30 +625,8 @@
608625
"OAuth2 / OpenID Connect"
609626
],
610627
"summary": "OpenID Connect Discovery Endpoint",
611-
"description": "Returns the OpenID Provider Configuration document per OpenID Connect Discovery 1.0.",
612-
"operationId": "OpenIdDiscovery",
613-
"responses": {
614-
"200": {
615-
"description": "OpenID Connect Discovery document",
616-
"content": {
617-
"application/json": {
618-
"schema": {
619-
"$ref": "#/components/schemas/OpenIDDiscoveryResponse"
620-
}
621-
}
622-
}
623-
}
624-
}
625-
}
626-
},
627-
"/oauth2/.well-known/openid-configuration": {
628-
"get": {
629-
"tags": [
630-
"OAuth2 / OpenID Connect"
631-
],
632-
"summary": "OpenID Connect Discovery Endpoint",
633-
"description": "Returns the OpenID Provider Configuration document per OpenID Connect Discovery 1.0.",
634-
"operationId": "OAclient_secretuth2OpenIdDiscovery",
628+
"description": "Returns the OpenID Provider Configuration document per OpenID Connect Discovery 1.0. Also available at /oauth2/.well-known/openid-configuration.",
629+
"operationId": "oauth2Discovery",
635630
"responses": {
636631
"200": {
637632
"description": "OpenID Connect Discovery document",
@@ -710,12 +705,7 @@
710705
}
711706
}
712707
}
713-
},
714-
"security": [
715-
{
716-
"OAuth2ProviderSecurity": []
717-
}
718-
]
708+
}
719709
},
720710
"post": {
721711
"tags": [
@@ -752,12 +742,7 @@
752742
}
753743
}
754744
}
755-
},
756-
"security": [
757-
{
758-
"OAuth2ProviderSecurity": []
759-
}
760-
]
745+
}
761746
}
762747
}
763748
},
@@ -1066,10 +1051,6 @@
10661051
"OAuth2TokenResponse": {
10671052
"title": "OAuth2 Token Response",
10681053
"description": "Successful token response per RFC 6749 §5.1",
1069-
"required": [
1070-
"access_token",
1071-
"token_type"
1072-
],
10731054
"properties": {
10741055
"access_token": {
10751056
"description": "The access token issued by the authorization server",
@@ -1242,9 +1223,6 @@
12421223
"JWKSResponse": {
12431224
"title": "JSON Web Key Set",
12441225
"description": "JWK Set document per RFC 7517",
1245-
"required": [
1246-
"keys"
1247-
],
12481226
"properties": {
12491227
"keys": {
12501228
"description": "Array of JSON Web Keys",
@@ -1289,15 +1267,6 @@
12891267
"OpenIDDiscoveryResponse": {
12901268
"title": "OpenID Connect Discovery Document",
12911269
"description": "OpenID Provider Configuration per OpenID Connect Discovery 1.0",
1292-
"required": [
1293-
"issuer",
1294-
"authorization_endpoint",
1295-
"token_endpoint",
1296-
"jwks_uri",
1297-
"response_types_supported",
1298-
"subject_types_supported",
1299-
"id_token_signing_alg_values_supported"
1300-
],
13011270
"properties": {
13021271
"issuer": {
13031272
"description": "Issuer identifier URL",
@@ -1442,7 +1411,7 @@
14421411
]
14431412
},
14441413
"prompt": {
1445-
"description": "Space-delimited user interaction prompts (OIDC). Allowed tokens: none, login, consent, select_account. \"none\" cannot be combined with others. Example: \"login consent\"",
1414+
"description": "User interaction prompts",
14461415
"type": "string"
14471416
},
14481417
"login_hint": {
@@ -1508,8 +1477,7 @@
15081477
},
15091478
"client_secret": {
15101479
"description": "Client secret (if not using HTTP Basic auth)",
1511-
"type": "string",
1512-
"format": "password"
1480+
"type": "string"
15131481
}
15141482
},
15151483
"type": "object"
@@ -1639,6 +1607,11 @@
16391607
}
16401608
}
16411609
},
1610+
"OAuth2ProviderClientBasic": {
1611+
"type": "http",
1612+
"description": "HTTP Basic authentication with OAuth2 client_id:client_secret (RFC 6749 §2.3.1).",
1613+
"scheme": "basic"
1614+
},
16421615
"OAuth2UserSecurity": {
16431616
"type": "oauth2",
16441617
"description": "OAuth2 security scheme for user-related API endpoints",

0 commit comments

Comments
 (0)