fix: oidc jwks endpoint only return default cert (#506)

Signed-off-by: Steve0x2a <stevesough@gmail.com>
This commit is contained in:
Steve0x2a
2022-02-21 23:17:16 +08:00
committed by GitHub
parent 07c90e048f
commit cbc8c58e85
6 changed files with 48 additions and 42 deletions

View File

@ -10,6 +10,14 @@
},
"basePath": "/",
"paths": {
"/.well-known/jwks": {
"get": {
"tags": [
"OIDC API"
],
"operationId": "RootController.GetJwks"
}
},
"/.well-known/openid-configuration": {
"get": {
"tags": [
@ -442,14 +450,6 @@
}
}
},
"/api/certs": {
"get": {
"tags": [
"OIDC API"
],
"operationId": "RootController.GetOidcCert"
}
},
"/api/check-ldap-users-exist": {
"post": {
"tags": [
@ -2476,11 +2476,11 @@
}
},
"definitions": {
"1867.0xc0003b2ea0.false": {
"1867.0xc00029b560.false": {
"title": "false",
"type": "object"
},
"1901.0xc0003b2ed0.false": {
"1901.0xc00029b590.false": {
"title": "false",
"type": "object"
},
@ -2497,10 +2497,10 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/1867.0xc0003b2ea0.false"
"$ref": "#/definitions/1867.0xc00029b560.false"
},
"data2": {
"$ref": "#/definitions/1901.0xc0003b2ed0.false"
"$ref": "#/definitions/1901.0xc00029b590.false"
},
"msg": {
"type": "string"
@ -2521,10 +2521,10 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/1867.0xc0003b2ea0.false"
"$ref": "#/definitions/1867.0xc00029b560.false"
},
"data2": {
"$ref": "#/definitions/1901.0xc0003b2ed0.false"
"$ref": "#/definitions/1901.0xc00029b590.false"
},
"msg": {
"type": "string"
@ -3213,6 +3213,9 @@
"type": "string"
}
},
"adfs": {
"type": "string"
},
"affiliation": {
"type": "string"
},