pickle-finance / pickle-ui

UI to interact with the PICKLE protocol
https://app.pickle.finance
51 stars 51 forks source link

Add 'Login with Unstoppable' as login option #550

Closed denimcodes closed 2 years ago

denimcodes commented 2 years ago

Login with Unstoppable is a simple login widget for applications that allows their users to create and authenticate logins as well as share contact information using their NFT domain.

How It Works

Login with Unstoppable allows users to map their domains to an authorization server, which can authenticate and log users into an app.

  1. Users can add a link to an authorization server to their domain.
  2. When a user visits an app and logs in with their domain, the app reads the domain and directs the user to the authorization server. If the user authenticates and grants access to the information the app requested, the application receives an authorization containing an access token and an id token from the authorization server with the user’s contact information (ie email address).
  3. The app and user have now exchanged emails!

Watch demo on Youtube

Link: https://www.youtube.com/watch?v=8mNs1gOzusE

Setup

Create a .env file in the root folder with the following variables.

NEXT_PUBLIC_UAUTH_CLIENT_ID=
NEXT_PUBLIC_UAUTH_REDIRECT_URI=

Libraries used

vercel[bot] commented 2 years ago

@denimcodes is attempting to deploy a commit to the PickleFinance Team on Vercel.

A member of the Team first needs to authorize it.

bcstryker commented 2 years ago

@mannyreimi88 is this something we're interested in?

rawbdor commented 2 years ago

Hey sorry about the close: we will evaluate this PR but do you think you can clean it up first? There's a lot of lines that aren't really changed and shouldn't be included in teh PR, like where imports are reordered or where the order of style classes has changed?

bcstryker commented 2 years ago

PR has been evaluated, but we are not looking to integrate additional connection options at this time. Thanks anyway and good hustle! Keep it up!