# PR: feat(auth): Architect Decentralized Identity (DID) Authentication Module#31
Merged
zakkiyyat merged 4 commits intoMixMatch-Inc:mainfrom Aug 31, 2025
Merged
Conversation
…rt and MatchModal components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
**Closes #16 **
Description
This pull request introduces a secure, Web3-native authentication system based on the Sign-In with Ethereum (SIWE, EIP-4361) standard, adapted for the Flare Network.
This new module replaces traditional login methods with a decentralized identity approach. It allows users to authenticate by simply signing a human-readable message with their wallet, providing a seamless and secure login experience. Upon successful signature verification, a session is established, linking the user's blockchain address to their application profile.
Implementation Details
SIWE Authentication Flow
Message Generation:
domain, the user'saddress, the Flare Networkchain ID, a uniquenonceto prevent replay attacks, and a sessionissuedAttimestamp.UI & Wallet Interaction:
Backend Verification (Mocked):
/api/auth/verifyendpoint.Session Management:
How to Test
Successful Login Flow
Rejected Signature Flow