App Authentication

Authenticates an OBO app using the application saved RSA public key.

Authenticate an App with public key

post

Based on an authentication request token signed by the application'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 app, malformed authentication token, app's public key not imported in the pod, invalid token signature etc.).

Body

Request body for pubkey authentication

tokenstringOptional

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

Responses
chevron-right
200

OK.

application/json
namestringOptional

The name of the header in which the token should be presented on subsequent API calls.

tokenstringOptional

Authentication token that should be passed as header in each API rest calls. This should be considered opaque data by the client. It is not intended to contain any data interpretable by the client. The format is secret and subject to change without notice.

authorizationTokenstringOptional

(Beta) Short lived access token built from a user session. This field is still on Beta, please continue using the returned "token" instead.

post
/pubkey/app/authenticate

📘 Requirements

This authentication requires the app to be enabled and to have at least one RSA Public key registered. For more information, refer to Create an RSA Key Pairarrow-up-right.

Last updated

Was this helpful?