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.

Unable to login locally after initial setup

default discord avatar
f12057last year

After initializing a new Payload CMS Cloud app and copying the repository down, I'm unable to login locally.



1. Copied the MongoDB string from my account dashboard on Payload for MONGODB_URI in .env


2. Added Payload Secret from the project settings page on Payload as PAYLOAD_SECRET in .env


3. Run

yarn build

then

yarn dev

4. Try to login with login that works in Payload Cloud


5. Server logs AuthenticationError: The email or password provided is incorrect and I'm unable to login.



I searched the GitHub issues as well as discussions and couldn't find anything. I must be missing something simple in the docs as this is step 1 of getting up and running.



Thanks for your help!



Ok, I think I might have just got my wires crossed between logins for Payload and the actual CMS login, d'oh. I removed the user via mongo and recreated and it is resolved now.

    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.