Skip to content

Authentication

OAuth

Jiko uses OAuth 2.0 for API authentication. There are two flows depending on your use case:

FlowUse CaseClient Setup
Authorization CodeUser-facing apps that need to act on behalf of usersSelf-service via Settings page
Client CredentialsMachine-to-machine, backend servicesContact Jiko support

Authentication

All clients authenticate using Private Key JWT - you sign a JWT with your private key, and Jiko verifies it with your public key. No shared secrets.

You can register your public key in the Settings page of the Jiko authentication portal.

Security Extensions

ExtensionPurpose
PKCEProtects authorization codes from interception (required)
DPoPBinds tokens to your client so stolen tokens are useless (optional)

Token Lifetimes

  • Access tokens: 15 minutes
  • Refresh tokens: 90 days (Authorization Code Flow only)

See Refresh Tokens for how to get new access tokens without re-authenticating.

Scopes

See Scopes for available permissions.