Skip to content

Commit 9074f9e

Browse files
deploy: 8665f74
1 parent ea6f8a4 commit 9074f9e

1 file changed

Lines changed: 58 additions & 20 deletions

File tree

openapi/pr-113/api-docs.json

Lines changed: 58 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,10 @@
173173
{
174174
"name": "prompt",
175175
"in": "query",
176-
"description": "Space-delimited user interaction prompts (OIDC)",
176+
"description": "Space-delimited user interaction prompts (OIDC). Allowed tokens: none, login, consent, select_account. \"none\" cannot be combined with others. Example: \"login consent\"",
177177
"required": false,
178178
"schema": {
179-
"type": "string",
180-
"enum": [
181-
"none",
182-
"login",
183-
"consent",
184-
"select_account"
185-
]
179+
"type": "string"
186180
}
187181
},
188182
{
@@ -494,12 +488,7 @@
494488
}
495489
}
496490
}
497-
},
498-
"security": [
499-
{
500-
"OAuth2ProviderSecurity": []
501-
}
502-
]
491+
}
503492
}
504493
},
505494
"/oauth2/token/revoke": {
@@ -619,8 +608,30 @@
619608
"OAuth2 / OpenID Connect"
620609
],
621610
"summary": "OpenID Connect Discovery Endpoint",
622-
"description": "Returns the OpenID Provider Configuration document per OpenID Connect Discovery 1.0. Also available at /oauth2/.well-known/openid-configuration.",
623-
"operationId": "oauth2Discovery",
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",
624635
"responses": {
625636
"200": {
626637
"description": "OpenID Connect Discovery document",
@@ -699,7 +710,12 @@
699710
}
700711
}
701712
}
702-
}
713+
},
714+
"security": [
715+
{
716+
"OAuth2ProviderSecurity": []
717+
}
718+
]
703719
},
704720
"post": {
705721
"tags": [
@@ -736,7 +752,12 @@
736752
}
737753
}
738754
}
739-
}
755+
},
756+
"security": [
757+
{
758+
"OAuth2ProviderSecurity": []
759+
}
760+
]
740761
}
741762
}
742763
},
@@ -1045,6 +1066,10 @@
10451066
"OAuth2TokenResponse": {
10461067
"title": "OAuth2 Token Response",
10471068
"description": "Successful token response per RFC 6749 §5.1",
1069+
"required": [
1070+
"access_token",
1071+
"token_type"
1072+
],
10481073
"properties": {
10491074
"access_token": {
10501075
"description": "The access token issued by the authorization server",
@@ -1217,6 +1242,9 @@
12171242
"JWKSResponse": {
12181243
"title": "JSON Web Key Set",
12191244
"description": "JWK Set document per RFC 7517",
1245+
"required": [
1246+
"keys"
1247+
],
12201248
"properties": {
12211249
"keys": {
12221250
"description": "Array of JSON Web Keys",
@@ -1261,6 +1289,15 @@
12611289
"OpenIDDiscoveryResponse": {
12621290
"title": "OpenID Connect Discovery Document",
12631291
"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+
],
12641301
"properties": {
12651302
"issuer": {
12661303
"description": "Issuer identifier URL",
@@ -1405,7 +1442,7 @@
14051442
]
14061443
},
14071444
"prompt": {
1408-
"description": "User interaction prompts",
1445+
"description": "Space-delimited user interaction prompts (OIDC). Allowed tokens: none, login, consent, select_account. \"none\" cannot be combined with others. Example: \"login consent\"",
14091446
"type": "string"
14101447
},
14111448
"login_hint": {
@@ -1471,7 +1508,8 @@
14711508
},
14721509
"client_secret": {
14731510
"description": "Client secret (if not using HTTP Basic auth)",
1474-
"type": "string"
1511+
"type": "string",
1512+
"format": "password"
14751513
}
14761514
},
14771515
"type": "object"

0 commit comments

Comments
 (0)