payload-plugin-oauth icon indicating copy to clipboard operation
payload-plugin-oauth copied to clipboard

Does this work with payload v3?

Open bote795 opened this issue 1 year ago • 4 comments

bote795 avatar Jun 20 '24 15:06 bote795

Also interested in this, seeing that the beta is seemingly getting close to being released as stable 👀

Augigauki avatar Jun 20 '24 16:06 Augigauki

I would expect not because of passport and how it depends on express middleware. Anybody here that used plugins with payload 3?

thgh avatar Jun 21 '24 10:06 thgh

Haven't used Payload V3 much myself yet, waiting for a stable release before starting to migrate a prod-app currently running on V2.

V3 is basically a NextJS app, so no Express-server, no.

I imagine V3-support would require a total rewrite. I'm not well versed in oAuth2 or auth in general, hence why I seek plugins for it like this one 😛

Augigauki avatar Jun 21 '24 13:06 Augigauki

I got a simple implementation that works for v3 with no dependencies. It is heavily influence by this plugin.

https://github.com/WilsonLe/payload-oauth2

WilsonLe avatar Jul 16 '24 14:07 WilsonLe