-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
BackendbackendbackendStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfeatureFurther information is requestedFurther information is requestedhard
Description
We need an alternative or primary login flow where users can authenticate securely by signing a nonce with their Stellar wallet.
Acceptance Criteria
- Implement
GET /auth/nonceto generate and return a unique nonce (store temporarily in memory or Redis). - Implement
POST /auth/verify-signatureacceptingpublicKeyandsignature. - Verify the signature against the nonce utilizing
@stellar/stellar-sdk. - Issue a JWT to the frontend if the signature is valid and belongs to the registered public key.
Useful Resources
- Stellar Authentication Protocol (SEP-10) - Context for building custom stellar auth.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BackendbackendbackendStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfeatureFurther information is requestedFurther information is requestedhard