Implement SIWS using MWA
- Establish a MWA session.
services/mwa/useSignIn.ts
sign_in_payload with the message to sign when calling the authorize method.
Now this call will return us an additional filed sign_in_result containing the metadata to verify the signature.
- Verify the signed message.
services/mwa/useSignIn.ts
@solana/wallet-standard-util
package to verify the signed message.
- The Helper Methods We used
services/mwa/useSignIn.ts
verifySignIn method returns false on every occasion. But the same message can we verified
by creating a custom replica of the verifySignIn method. So there might be some issue with the method itself.