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.

Why no self register page in the project?

default discord avatar
uljanovslast year
3

- FACT: there is only self-register to create initial admin account


- EXPECTATION: non-admin users to self register


- WORKAROUND: you can create register page website outside the app:

https://payloadcms.com/community-help/discord/is-it-possible-to-create-a-register-page-rather-than-creating-users-yourself

- PROBLEM with WORKAROUND: user will have to re-enter credentials when redirected to Payload app to access the account

  • discord user avatar
    seanzubrickas
    last year

    Hey

    @715553367547707473

    this could certainly be a useful feature for a handful of users! Because Payload was built to be endlessly extensible, and projects handle auth + user creation in many different ways, it's not something we've built into core at this time.



    Feel free to open a feature request on Github as we actively evaluate where those land on our roadmap.

  • The cookie will be valid for any domain listed in the CSRF config property on the payload config. So if they login under a whitelisted domain they will automatically be logged in when going to the admin panel. Am I missing what you are trying to do?

  • default discord avatar
    uljanovslast year

    You resolved the issue. Didn't think about this.



    Will do external register page and handle forget password externally.

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.