crow-identity

Get Crow Token

Generate a Crow identity JWT for the authenticated user.

This endpoint:

  1. Verifies the user is authenticated via Clerk
  2. Reads verification_secret from .env
  3. Creates a JWT payload with user info
  4. Signs it with the secret
  5. Returns the token for use with window.crow('identify', ...)
get/api/get_crow_token

Headers

authorizationstring required

Response

Successful Response

tokenstring required

Changes