-
-
Notifications
You must be signed in to change notification settings - Fork 196
feat: add signInWithWeb3
with solana
#1037
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
Merged
Conversation
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
hf
commented
Mar 17, 2025
hf
commented
Mar 17, 2025
Bewinxed
reviewed
Mar 17, 2025
Bewinxed
reviewed
Mar 17, 2025
Bewinxed
reviewed
Mar 17, 2025
901d842
to
602c67e
Compare
9dcf46d
to
863c30c
Compare
cstockton
approved these changes
Apr 4, 2025
As for tests, they'll come in a follow up PR because the DX needs to be proofed out once again in the RC. |
hf
pushed a commit
that referenced
this pull request
May 22, 2025
🤖 I have created a release *beep* *boop* --- ## [2.70.0](v2.69.1...v2.70.0) (2025-05-16) ### Features * add `signInWithWeb3` with solana ([#1037](#1037)) ([cff5bcb](cff5bcb)) * validate uuid and sign out scope parameters to functions ([#1063](#1063)) ([1bcb76e](1bcb76e)) ### Bug Fixes * add missing `deleted_at` property to `User` interface ([#1059](#1059)) ([96da194](96da194)) * export `processLock` from toplevel ([#1057](#1057)) ([d99695a](d99695a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mandarini
pushed a commit
to supabase/supabase-js
that referenced
this pull request
Oct 2, 2025
🤖 I have created a release *beep* *boop* --- ## [2.70.0](supabase/auth-js@v2.69.1...v2.70.0) (2025-05-16) ### Features * add `signInWithWeb3` with solana ([#1037](supabase/auth-js#1037)) ([b6c241c](supabase/auth-js@b6c241c)) * validate uuid and sign out scope parameters to functions ([#1063](supabase/auth-js#1063)) ([eb52bde](supabase/auth-js@eb52bde)) ### Bug Fixes * add missing `deleted_at` property to `User` interface ([#1059](supabase/auth-js#1059)) ([bba6709](supabase/auth-js@bba6709)) * export `processLock` from toplevel ([#1057](supabase/auth-js#1057)) ([ce9618e](supabase/auth-js@ce9618e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Adds
signInWithWeb3
which allows sign in with Solana.Example usage
First connect to the user's wallet then:
It also works without Wallet Standard, at least with Phantom, Solflare and Brave by reading the
window.solana
object or you can custom send a wallet object that satisfies thesignIn()
orsignMessage()
APIs.Additionally you can sign the message yourself and send it via the raw API: