Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIWE Verification of Token #168

Open
thedonmon opened this issue Aug 7, 2023 · 1 comment
Open

SIWE Verification of Token #168

thedonmon opened this issue Aug 7, 2023 · 1 comment

Comments

@thedonmon
Copy link

I posted a discussion here regarding the SIWE flow for the AuthClient. From my understanding the AuthClient in the fluttersdk handles validating that the signature is valid in one go, bypassing the need to check serverside. This is great but wondering for specific dApps that want to verify the token is valid, what is the process now for this? Mostly posting this issue here as its more specific to the flutter SDK and how it interacts with the SIWE packages provided by spruceId. It could be that there needs some updates on spruceId SIWE packages to help accomodate v2 better.

@Luzzotica
Copy link
Contributor

I'm not sure what the path to take would be here.

I believe you can get the signature and pass it to the server if you'd like. Or at least we can likely expose it for you to pass on to a server for authentication. That wouldn't be overly difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants