Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Plugin for OAuth login

default discord avatar
panecake2009_66755last month
7

Hi! What’s the recommended or the best way to implement OAuth (Google + Apple) in Payload v3?

  • discord user avatar
    seanzubrickas
    last month

    There is no official way to implement this but I'd suggest combing through community plugins here—

    https://github.com/topics/payload-plugin
  • default discord avatar
    panecake2009_66755last month

    Hi Sean, I tried

    https://github.com/payload-auth/payload-auth

    , but it turns out it doesn’t work with newer versions of Payload

  • discord user avatar
    seanzubrickas
    last month

    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

  • default discord avatar
    binaryfabriclast month

    We use payload-auth with v3.79



    understanding how it works can be a little tricky, but the dev pops around and helps out

    @418983916771213334

    can def use a full setting-docs-examples refresh

  • default discord avatar
    forrest.devlast month

    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 cookies

    better 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.

  • default discord avatar
    panecake2009_66755last month

    Sorry, my mistake.


    Payload-auth works fine but

    @550055822994964482

    is right, the initial setup is just a bit tricky.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.