Protecting All Routes with IDS Authentication

Hi everyone,

I have successfully implemented IDS authentication in my project. Now, I want to protect all routes using this authorization.

Could someone guide me on how to apply IDS authentication to secure all routes properly?

1 Like

Hello @ajayps ,
You can use the idsAuthorizedApi middleware for HTTP requests,you can find it from http node middleware sequence section and add it to your route. This will allow us to secure and protect the routes effectively.

Hi @ajayps

In the Frontend open the router file you can add “NeutrinosAuthGuardService“ in canActivate section for preventing unauthorized access to the pages. In the backend you can use the IDSAuthorizedApi middleware in http in node.