router/api-router.go:239。controller.FetchCustomOAuthDiscovery,controller/custom_oauth.go:144。option:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/custom-oauth-provider/discovery' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"well_known_url": "string",
"issuer_url": "string",
"property1": "string",
"property2": "string"
}'{
"data": {
"discovery": {
"property1": "string",
"property2": "string"
},
"well_known_url": "string",
"property1": "string",
"property2": "string"
},
"message": "string",
"success": true,
"property1": "string",
"property2": "string"
}