Auth
Sign In
Authenticates a user by verifying the signed message from their wallet. Returns a JWT access token upon successful verification.
post/api/v2/{portalId}/auth/signin
Request
- Base URLhttps://portal-api.magna.so
- Authnone declared
Path parameters
portalIdstring uuid required
unique portal id (provided by Magna)
Request body
Response
Ok
Example response
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwid2FsbGV0IjoiMHhmMzlmZDZlNTFhYWQ4OGY2ZjRjZTZhYjg4MjcyNzljZmZmYjkyMjY2IiwiaWF0IjoxNTE2MjM5MDIyfQ.-fu_kTkRsmXqWwwrmsSgb78S504bkkZXp_e92RaJTw0",
"expiration": "2024-12-31T23:59:59.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.