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.

Is there a way to disable default login?

default discord avatar
nvskxlast year
2

I am using OAuth for login and want to disable the default login entirely. Can I remove the default login in /admin/login and disable payload.login?

  • default discord avatar
    augdustlast year

    On your User-collection you can set this property to disable native Payload signin functionality:



    auth: {
        disableLocalStrategy: true,
    },
  • default discord avatar
    nvskxlast year

    thank, that's what I was looking for

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.