Skip to main content

Challenge Flow

  1. Call POST /api/auth/challenge with { "did": "did:alyra:..." }.
  2. Sign the returned challenge with the local wallet key.
  3. Submit did, challenge, and signature to this endpoint.
  4. Store the returned JWT for authenticated API calls.

Response

200 OK
Returns: