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
Ensure app state and Magic state are in sync during sign up / sign in flows #50
[ ] Ensure that if a user is signed in that they still see the success view when refreshing the page
[ ] Make sure that Magic checks to see if the user is already signed in before you display the sign up form. Open a new bug report issue in this repo if they don't.
[ ] Handle the case where the user is signed in with our app, but not signed in with magic.
[ ] If the user is signed in with magic and not signed in with our app, automatically sign them in with our app.
[ ] After web3Provider.listAccounts check to see if the user already exists in the database, if they do, we can get their email address from their existing account. If they don't, the user hasn't created an account yet and we can collect their email address now.
[ ] Remove all console.log s used previously when developing Magic connect integration pieces.
[ ] Ensure that Magic auth token is received as a parameter to Greenruhm connect.
// TODO: Oliver ensure that this is not hardcoded.
export const withMagicConnect = (params) => {
const magic = new Magic('pk_live_BDB8311A26CF3651', {
console.log
s used previously when developing Magic connect integration pieces.connect
.