Skip to content

accessToken cookie not being set for local-login #57

Description

@gouthamve

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.

"setAccessToken": true

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions