Client Type | Description | Usage |
---|---|---|
Dynamic Client | A client created through the auth service API. | Cloud, self-hosted. |
Static Client | A client passed to the auth service configuration file | Self-hosted deployments (details) |
Token Type | Description |
---|---|
Platform Token | A JWT token issued by the Formance Platform, not scoped to any specific environment. |
Environment Token | A JWT token issued by the auth service of The Formance Platform, scoped to a specific environment. |
testing
testing
config.yml
file passed to the auth service to change the default static client credentials.config.yml
file passed to the auth service. For example, to add a client with the ID my-client
and secret my-secret
, you would add the following to the config.yml
file:
client_credentials
flow is a two-step process:
my-backend
:
client_credentials
OAuth2 grant type.
/api/auth/oauth/token
token generation endpoint that you can use to generate a JWT token with the client_credentials
OAuth2 grant type.
FORMANCE_TOKEN
that we can use in further command lines. We can check the contents of the envronment variable to be sure that we have a valid token like this: