Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Use koa-passport without koa-session #135

@walkerlangley

Description

@walkerlangley

Is it possible to use koa-passport without using koa-session? We've been using a much older version of koa-passport (1.3.0), aren't calling (app.use(passport.session()) and are able to authenticate users based off a jwt token passed in the header of a request. However, once I updated to the current version of koa-passport, the only way I can get authentication to work is if I also use koa-session. If I don't use koa-session, ctx.isAuthenticated() is always false. I've googled around and it se

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