qsys
01/30/2018, 2:05 AMProfile table, which contains an email (and the permissions of the user)
3. JWT is returned to the user, who can run 'createuser' (auth0 integration part of graphcool)
4. on creation of a new user, the Profile table as linked to the User table and permission queries can be run using the Profile data (which contains permission data - e.g. in an AppMetadata field, in line with auth0)
This makes it possible to setup permissions and emails before the user has logged in/signed up. After sign up, the data is linked nicely, and the profile of the user should stay synced between auth0 and graphcool somehow (I can figure that out, I guess).
Question : How can I make step 4 work - link Profile data with the User based on email (the JWT contains an email) on user creation?max
01/30/2018, 8:26 AMqsys
01/30/2018, 8:27 AMqsys
01/30/2018, 8:36 AM