agr
musbell
04/11/2017, 7:46 AMmusbell
04/11/2017, 7:46 AMartyom
04/11/2017, 8:19 AMedward_s
04/11/2017, 9:18 AMamann
04/11/2017, 1:08 PMmarika.w
04/11/2017, 2:19 PMbarbatus
04/11/2017, 3:10 PMbarbatus
04/11/2017, 3:14 PMbarbatus
04/11/2017, 3:17 PMartyom
04/11/2017, 4:04 PMatyilmaz
04/11/2017, 4:29 PMtafelito
04/11/2017, 4:41 PMjesse
04/11/2017, 5:10 PMjesse
04/11/2017, 5:10 PMjesse
04/11/2017, 5:13 PMmanager
, associate
), and I have a separate single-page React app for each user type (i.e., manager app
, associate app
). For a serverless architecture using JWT for authentication (e.g., Graphcool & Auth0), 1) where does the logic to check for authentication reside (i.e., check if user authenticated; if not, redirect to /login page) and 2) where does the logic to determine which app to load reside (i.e., if user is authenticated, check userType in JWT and load either manager
app or associate
app? Any help is much appreciated!tafelito
04/11/2017, 5:16 PMkomondor
04/11/2017, 5:33 PMartyom
04/11/2017, 6:43 PMschickling
04/11/2017, 6:55 PMvacom
04/11/2017, 8:57 PMmaxcan
04/11/2017, 11:01 PMartyom
04/12/2017, 6:59 AMtheom
04/12/2017, 8:19 AMstevewpatterson
04/12/2017, 8:20 AMdjuko
04/12/2017, 8:22 AMchandu0101
04/12/2017, 8:32 AMchandu0101
04/12/2017, 8:32 AMtheom
04/12/2017, 8:52 AMartyom
04/12/2017, 8:58 AM