We-Are-Swissborg / WASB-Back

0 stars 0 forks source link

Delete Nonce after auth #18

Closed Valdior closed 2 weeks ago

Valdior commented 1 month ago

The Nonce token should be deleted once the signature has been validated.

In the event that a user authenticates to our application, it is possible to retrieve the information (wallet address, signed message address) as this data is public.

If we execute the query again after the user has authenticated within the validity time, we could usurp his identity.