Authentication Integration
- A new
SignIn.page.js
file should be created under theapp/pages
folder - A new
SignUp.page.js
file should be created under theapp/pages
folder - A new
RequestPasswordReset.page.js
file should be created under theapp/pages
folder - A new
ResetPassword.page.js
file should be created under theapp/pages
folder - A new file with name
authentication.queries.js
should be created underapp/graphql
folder - This file should contain all the
queries
,mutations
andsubscriptions
(schemas) needed for the SignIn page like:- e.g.
login
,signUp
,sendPasswordResetEmail
,resetPassword
e.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.js
should take advantage ofuseQuery
anduseMutation
from@apollo/client
for 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
.