Greenruhm / connect

Greenruhm Connect is your white label, custom-branded connection to the music metaverse. It allows you to provide music NFT services inside your app with your branding.
MIT License
1 stars 0 forks source link

getCurrentUser #44

Open ericelliott opened 1 year ago

ericelliott commented 1 year ago

User Story

When I load a page connected to Greenruhm Connect and I am already signed in, I want to automatically see the signed in state so that I don't need to sign in every time I refresh the page.

Description

We want this available in the demo components so that connect integrators know how to get the current user login state from Greenruhm Connect.

Signature

() => Promise(User)

If the user is not signed in, this function should return an anonymous user profile with isSignedIn = false. See user profiles.