Authenticate App

Authenticate extension app with a public key. See also: Application Authentication in the Client Extension API documentation.

Authenticate extension app with public key

post

Based on an authentication request token signed by the caller's RSA private key, authenticate the API caller and return a session token.

A HTTP 401 Unauthorized error is returned on errors during authentication (e.g. invalid user, malformed authentication token, user's public key not imported in the pod, invalid token signature etc.).

Body
appTokenstringoptional

application generated token

authTokenstringoptional

a JWT containing the caller's username and an expiration date, signed by the caller's private key.

Responses
curl -L \
  --request POST \
  --url 'http://yourpodURL.symphony.com/login/v1/pubkey/app/authenticate/extensionApp' \
  --header 'Content-Type: application/json' \
  --data '{
    "appToken": "text",
    "authToken": "text"
  }'
{
  "appId": "text",
  "appToken": "text",
  "symphonyToken": "text",
  "expireAt": 1
}

Last updated

Was this helpful?