Authenticate using JSON Web Token (JWT)

Authenticate using JSON Web Token (JWT)

POST https://{controlplane_path}/api/1/rest/admin/org_snode_id/auth
Authenticate using JWT

SnapLogic Public APIs accept JSON Web Tokens (JWTs) for authentication. JWTs provide the following benefits:

  • They avoid the need to pass the username and password in the authorization header.
  • They ensure data integrity and prevent tampering because any modification invalidates the token.
  • Your organization can use your choice of Identity Providers (IdPs), open source libraries, or token generators.

For detailed information to use and configure JWT refer to JWT authentication

Prerequisites

  • Environment (Org) admin permissions

Path parameters

Key Description
controlplane_path Required. The path to the SnapLogic control plane: elastic.snaplogic.com
For the UAT or EMEA control plane, substitute the name for elastic. For example:
  • uat.elastic.snaplogic.com
  • emea.snaplogic.com
org_snode_id The ID of the Snaplex node that hosts the Environment/Org of the pipeline.
auth

Query parameters

None.

Request body


            {
            "auth_settings": 
              {
                "disable_basic": true,
                "jwks_url": "https://token.dev/jwks/keys.json",
                "issuer_id": "id"
              }
             }                   
             

Response

A successful response includes a Code 200 OK and the new values:

{
}