carbonsoda / scribbler

Quickly scribble an idea and share it with others via temporary link
https://scribblering.herokuapp.com/
1 stars 1 forks source link

Finalize auth0 setup + connect DB #12

Closed carbonsoda closed 3 years ago

carbonsoda commented 3 years ago

Auth0 is now connected to the backend and token-validation is possible, though I'm unsure if I'll need it in the final product. The frontend's apiClient is able to make calls to the backend to check if a user exists already, and if not to create the user.

That only gets called once the user's email has been verified, as a sort of mechanism to avoid always checking while a user is signed in (including unverified). I'm not sure if this is best practice though; I found this about adding things to the onboarding flow after sign up or first log in, but that's not the a big priority right now.

Issues:

Live preview

carbonsoda commented 3 years ago

PostgreSQL setup

carbonsoda commented 3 years ago

Auth0 Backend