mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-07 19:49:08 +00:00
UPDATE: new route to add identity provider
This commit is contained in:
@@ -93,6 +93,55 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/auth/idp": {
|
||||
"post": {
|
||||
"operationId": "AuthController_addIdentityProvider",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "dadosfera-lang",
|
||||
"in": "header",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"enum": [
|
||||
"pt-br",
|
||||
"en-us"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/CreateIdentityProvider"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/AuthRefreshAccessTokenRes"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Auth"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
"access-token": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/auth/sso/snowflake": {
|
||||
"post": {
|
||||
"operationId": "AuthController_snowflakeSignIn",
|
||||
@@ -5840,6 +5889,25 @@
|
||||
"accessToken"
|
||||
]
|
||||
},
|
||||
"CreateIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string"
|
||||
},
|
||||
"clientSecret": {
|
||||
"type": "string"
|
||||
},
|
||||
"issueUrl": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId",
|
||||
"clientSecret",
|
||||
"issueUrl"
|
||||
]
|
||||
},
|
||||
"CreateConnectionDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user