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?
@ysione This could possibly be a CORS / CSRF issue if you're getting 403's
Can I check out your payload config
@notchr
Ah, all good, our nginx config had line that was making all requests to PUT requests
Nothing to do with Payload
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.