Authentication Flow
High level overview of the authentication flow

Authentication Flow Steps
User clicks "Authentication" button on the frontend.
The frontend will call the authentication nonce endpoint on the Gateway Relay API.
The API will generate the nonce and send it back to the frontend in a response. The frontend will then display this nonce in the user's UP extension, and prompt them for a signature.
Once the user signs the message, it will be sent to the authentication signature endpoint for validation.
If the signature sent to the Gateway Relay API is valid, a JWT token will be generated, and sent to the frontend in a response.
The frontend will locally store the JWT token to be used in future requests.
Last updated