Auth0 Home Blog Docs

Passport and Sails



I’m trying to adapt this example to use Auth0 with

I’m wondering if anyone knows how to adapt the isAuthenticated policy? I’m guessing I need to store something in the session in the callback function?

I have the passportSession middleware enabled.

Thanks in advance!


Hey there @tom5, I wanted to reach out and apologize for the delay in response. I have attached a react implementation of isAuthenticated here but I wanted to check and see if you are still battling this scenario you previously explained? If by chance you still need assistance I am happy to jump in and help! Thanks in advance!


Thanks James, I will check it out.

1 Like
closed #6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.