Documentation

Heimdall

Authentication and authorization for multi-tenant products. This documentation covers everything you need to integrate Heimdall into your application, from first API call to production deployment.

Base URL

https://heimdall.productcraft.co/api/v1

All endpoints are relative to this base URL. Requests must include an Authorization header with a valid bearer token unless otherwise noted.

Authentication

Heimdall issues two types of tokens:

  • User tokens (JWT) for authenticating users. Issued on signup or signin, verified locally via JWKS or through the introspection endpoint.
  • M2M tokens (JWT) for service-to-service authentication. Issued via client credentials exchange, scoped to specific permissions.