Skip to content

feat: additional SIWE integration helpers #2335

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

azf20
Copy link

@azf20 azf20 commented Feb 24, 2025

This PR introduces some additional helpers for convenience.

  • authOptions, for simple SIWE setup with onSuccess & onError callbacks
  • RainbowKitSiweNextAuthProviderWithSession wraps with a SessionProvider
  • NextAuthHandler: wraps the authOptions in NextAuth

Also updated documentation for this new functionality. Feedback very welcome!

@azf20 azf20 requested a review from a team as a code owner February 24, 2025 12:30
Copy link

vercel bot commented Feb 24, 2025

@azf20 is attempting to deploy a commit to the rainbowdotme Team on Vercel.

A member of the Team first needs to authorize it.

@Elyx0
Copy link

Elyx0 commented May 5, 2025

This would have saved me quite some time figuring it out. Any change to get it through? Even if it's nextauth4 it's still the fastest way to get setup

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

Successfully merging this pull request may close these issues.

2 participants