Overview

This collection contains essential endpoints for integrating with Photon:

This is a generic version suitable for any client integrating Photon.


Base URL

<https://stage-api.getstan.app/identity-service/api/v1>

1. Onboarding Flow Using Custom JWT

Photon allows onboarding through any backend system issuing a JWT.

To test locally or during hackathons, developers can easily generate a JWT using:

<http://jwtbuilder.jamiekurtz.com/>

Steps to Onboard a User (Generic Flow)

  1. Go to the JWT builder tool
  2. Enter claims for your user (example):
  3. Sign the JWT with any secret (for demos, any string works)
  4. Copy the generated JWT