Skip to content
Advertisement

Tag: koa-passport

Koa & Passport Missing credentials

I have a Koa server that uses Passport to authenticate users against an Array, and a React client. After successful login, the following requests are not authenticated as the cookie is undefined. The authenticate function’s error parameter has: After browsing the site, I fixed the usual errors, calling the returned function of authenticate, adding {credentials: ‘include’} to fetch etc, but

Advertisement