Challenge Flow
- Call
POST /api/auth/challengewith{ "did": "did:alyra:..." }. - Sign the returned
challengewith the local wallet key. - Submit
did,challenge, andsignatureto this endpoint. - Store the returned JWT for authenticated API calls.
Response
200 OK