Overview
- Introduction
- Authentication
- Examples
Endpoints
- Identities
- Universal Auth
- Organizations
- Projects
- Environments
- Folders
- Secret Tags
- Secrets
- Secret Imports
- Identity Specific Privilege
- Integrations
- Service Tokens
- Audit Logs
Universal Auth
Login
Login with Universal Auth
POST
/
api
/
v1
/
auth
/
universal-auth
/
login
curl --request POST \
--url https://app.infisical.com/api/v1/auth/universal-auth/login \
--header 'Content-Type: application/json' \
--data '{
"clientId": "<string>",
"clientSecret": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Body
application/json
Response
200 - application/json
Default Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://app.infisical.com/api/v1/auth/universal-auth/login \
--header 'Content-Type: application/json' \
--data '{
"clientId": "<string>",
"clientSecret": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Assistant
Responses are generated using AI and may contain mistakes.