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.

Can't create first First User

default discord avatar
ysione2 years ago
2

We had deployed payload project, now we need another version of it on new server, but after deploy we have troubles creating first admin user, request for creating user fails with status 403.


We tried to add user manualy to database, but even

/api/user-admin/login

fails with status 403.



How can I fix it?

  • default discord avatar
    notchr2 years ago
    @351983077423185921

    This could possibly be a CORS / CSRF issue if you're getting 403's



    Can I check out your payload config

  • default discord avatar
    ysione2 years ago
    @1049775120559898725


    Ah, all good, our nginx config had line that was making all requests to PUT requests


    Nothing to do with Payload

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.