Get command-line client auth configuration
Changed onThe OAuth client configuration for logging a user in from a native client: the layer command-line interface, or an application plugin built on it. Read this before starting a login: it names the public client id to use and the device login endpoints. Start a device login at device_authorization_endpoint, poll token_endpoint for its tokens, refresh them there, and revoke the refresh token at revocation_endpoint on sign-out.
An empty client_id means this deployment has no sign-in configured for that client; use a personal access token instead.
Request
- Base URL: https://api.app.layer.ai/api
- URL: https://api.app.layer.ai/api/cli-auth
- Auth: none required
Query parameters
Which native client is signing in.
Each is its own Auth0 application, so Auth0 can tell them apart in its logs, metrics and grants, and a client-level change to one never reaches the other.
The client signing in. Each has an OAuth application of its own.
Response
Successful Response
Changes
- info
added the new enum value
godotto thequeryrequest parameterclient - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the new enum value
unityto thequeryrequest parameterclient
- info