mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
fix: oidc jwks endpoint only return default cert (#506)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
This commit is contained in:
@ -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"
|
||||
},
|
||||
|
@ -7,6 +7,11 @@ info:
|
||||
email: admin@casbin.org
|
||||
basePath: /
|
||||
paths:
|
||||
/.well-known/jwks:
|
||||
get:
|
||||
tags:
|
||||
- OIDC API
|
||||
operationId: RootController.GetJwks
|
||||
/.well-known/openid-configuration:
|
||||
get:
|
||||
tags:
|
||||
@ -286,11 +291,6 @@ paths:
|
||||
description: object
|
||||
schema:
|
||||
$ref: '#/definitions/Response'
|
||||
/api/certs:
|
||||
get:
|
||||
tags:
|
||||
- OIDC API
|
||||
operationId: RootController.GetOidcCert
|
||||
/api/check-ldap-users-exist:
|
||||
post:
|
||||
tags:
|
||||
@ -1620,10 +1620,10 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/object.Userinfo'
|
||||
definitions:
|
||||
1867.0xc0003b2ea0.false:
|
||||
1867.0xc00029b560.false:
|
||||
title: "false"
|
||||
type: object
|
||||
1901.0xc0003b2ed0.false:
|
||||
1901.0xc00029b590.false:
|
||||
title: "false"
|
||||
type: object
|
||||
RequestForm:
|
||||
@ -1637,9 +1637,9 @@ definitions:
|
||||
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
|
||||
name:
|
||||
@ -1653,9 +1653,9 @@ definitions:
|
||||
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
|
||||
name:
|
||||
@ -2118,6 +2118,8 @@ definitions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
adfs:
|
||||
type: string
|
||||
affiliation:
|
||||
type: string
|
||||
apple:
|
||||
|
Reference in New Issue
Block a user