I’m trying to adapt this example https://email@example.com/implement-passport-js-authentication-with-sails-js-1-0-50888265fb83 to use Auth0 with https://github.com/auth0/passport-auth0
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!