Authentication
Create Token
Overview
OpenFeature Evaluation
Namespaces
Rollouts
Authentication
Create Token
POST
/
auth
/
v1
/
method
/
token
curl --request POST \
--url https://try.flipt.io/auth/v1/method/token \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"description": "<description>",
"name": "<name>"
}'
{
"clientToken": "<string>",
"authentication": {
"id": "<string>",
"method": "METHOD_NONE",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
}
curl --request POST \
--url https://try.flipt.io/auth/v1/method/token \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"description": "<description>",
"name": "<name>"
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200 - application/json
OK
Available options:
METHOD_NONE
, METHOD_TOKEN
, METHOD_OIDC
, METHOD_KUBERNETES
, METHOD_GITHUB
, METHOD_JWT
, METHOD_CLOUD
Was this page helpful?
curl --request POST \
--url https://try.flipt.io/auth/v1/method/token \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"description": "<description>",
"name": "<name>"
}'
{
"clientToken": "<string>",
"authentication": {
"id": "<string>",
"method": "METHOD_NONE",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
}