You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jumana Almahmoud edited this page May 24, 2023
·
4 revisions
All NB routes are defined in this folder and added to the app in this file.
Important: NB uses Passport to check the user authentication, and to secure a route you can pass passport.authenticate('jwt', { session: false }) when adding the route into the app, similar to this example.