o-auth-2-config-template-controller
Create or update OAuth2 client registration template (saveClientRegistrationTemplate) Available for users with 'SYS_ADMIN' authority.
Client registration template is OAuth2 provider configuration template with default settings for registering new OAuth2 clients
post/api/oauth2/config/template
Request body
Example request
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9"
},
"createdTime": 1746028547220,
"mapperConfig": {
"basic": {
"tenantNamePattern": "%{email}"
}
},
"additionalInfo": {}
}Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9"
},
"createdTime": 1746028547220,
"mapperConfig": {
"basic": {
"tenantNamePattern": "%{email}"
}
},
"additionalInfo": {}
}