I was trying to use make an authenticated api call after logging in using the passport-local. But the accessToken signed cookie is not being set for local.
When I login through Fb, I get a signed cookie with accessToken but that is not happening for local. I have added the following option to providers.json for local but still the cookie is not being set.
Steps to reproduce:
Clone the loopback-example-passport repo and use the local login. You will see that the accessToken is virtually impossible to retrieve.
I was trying to use make an authenticated api call after logging in using the passport-local. But the accessToken signed cookie is not being set for local.
When I login through Fb, I get a signed cookie with accessToken but that is not happening for local. I have added the following option to providers.json for local but still the cookie is not being set.
Steps to reproduce:
Clone the
loopback-example-passportrepo and use the local login. You will see that the accessToken is virtually impossible to retrieve.