NodeJS - by Privilege, authentication access /restriction to sites

Hi, Im still getting upto speed with wappler but am struggling to see how security works on Node JS. I was using Security Provider when using PHP but cant figure out what to use for Node JS. I see reference to Passport JS but not sure if that has been implemented.

Any advice or pointers to where i might be able to work this out would be very much appreciated.

Regards

Hello,

Please check: PREVIEW: Applying Security to your NodeJS pages

Thanks Teodor, I’ve just read the article and tried to implement it and have a few questions:

  1. I assume i still use the Security Login / Logout as before and the identity returned is as before and available for further queries?
  2. I dont seem to be able to save the security Provider so that it can be reused for other security actions ?
  3. the Server side Data - Server Action option only seems to show up on Dynamic Layout page, it doesnt seem visible for Dynamic pages based on the layout or HTML pages (which i want to port to be dynamic pages based on the layout - hopefully reusing as much as possible rather than re-develop).

Many thanks.