Hi! What’s the recommended or the best way to implement OAuth (Google + Apple) in Payload v3?
There is no official way to implement this but I'd suggest combing through community plugins here—
https://github.com/topics/payload-pluginHi Sean, I tried
https://github.com/payload-auth/payload-auth, but it turns out it doesn’t work with newer versions of Payload
Ah rats—I was certain there was one that worked with 3.0. As they're community plugins we don't review them for compatibility so you'd have to reach out to one of the mantainers
We use payload-auth with v3.79
understanding how it works can be a little tricky, but the dev pops around and helps out
@418983916771213334can def use a full setting-docs-examples refresh
Fully using it in all my builds on the latest payload 3.83.0
Latest better auth version 1.6.5
Latest plugin version 1.9.4
On next 16.2.3
With cache components
The
next cookiesbetter auth plugin was fixed so I’ve been using it as normal again even with cache components.
I had to patch drizzle though, don’t think that had anything related to auth tho, more just a payload with cache components thing.
Sorry, my mistake.
Payload-auth works fine but
@550055822994964482is right, the initial setup is just a bit tricky.
Star
Discord
online
Get dedicated engineering support directly from the Payload team.