Skip to content

Question: solution for CORS authentication? #240

@olalonde

Description

@olalonde

Hi. I have a single page app at mydomain.com which talks to an api at api.mydomain.com. Cookie-based authentication is a bit a PITA especially when dealing with stuff like protecting against CSRF. I was wondering if passport had an authentication method which would be a good match for this use case.

https://github.com/auth0/express-jwt seems like it would probably be a good fit but I'm not sure how to integrate it with passport.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions