Midas-Protocol / monorepo

Central repository for Midas Capital's frontend, SDK, and bots
https://app.midascapital.xyz/
13 stars 7 forks source link

Enable User Auth via Rainbowkit and Supabase #1000

Open peetzweg opened 1 year ago

peetzweg commented 1 year ago

We need to have a user session for them to setup a email for future features, like notification service.

peetzweg commented 1 year ago

Made first steps in branch, not yet connected to supabase. The supabase database adapter for nextauth is almost ready to be merged, what a timing. Lets put this on hold until the adapter is available:

feat(adapters): Add Supabase adapter #5050

peetzweg commented 1 year ago

Released here: https://github.com/nextauthjs/next-auth/releases/tag/%40next-auth%2Fsupabase-adapter%40v0.2.0

peetzweg commented 1 year ago

Use Sign in with Ethereum (https://login.xyz/) => with Rainbow Kit https://www.rainbowkit.com/docs/authentication

Which builds on top of https://next-auth.js.org/ which just got a Supabase provider.