Authentication Integration
- A new
SignIn.page.jsfile should be created under theapp/pagesfolder - A new
SignUp.page.jsfile should be created under theapp/pagesfolder - A new
RequestPasswordReset.page.jsfile should be created under theapp/pagesfolder - A new
ResetPassword.page.jsfile should be created under theapp/pagesfolder - A new file with name
authentication.queries.jsshould be created underapp/graphqlfolder - This file should contain all the
queries,mutationsandsubscriptions(schemas) needed for the SignIn page like:- e.g.
login,signUp,sendPasswordResetEmail,resetPassworde.g. (https://gitlab.coko.foundation/hhmi/hhmi/-/blob/master/packages/client/app/graphql/authentication.queries.js)
- e.g.
-
SignIn.page.js,SignUp.page.js,RequestPasswordReset.page.js,ResetPassword.page.jsshould take advantage ofuseQueryanduseMutationfrom@apollo/clientfor the execution of the above queries
Until the actual UI become ready the SignIn.page.js, SignUp.page.js, RequestPasswordReset.page.js, ResetPassword.page.js should return a dummy div.