Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fields are invalid #26

Open
erzoooooor opened this issue Jan 17, 2025 · 0 comments
Open

fields are invalid #26

erzoooooor opened this issue Jan 17, 2025 · 0 comments

Comments

@erzoooooor
Copy link

I'm using the payload-oauth2 plugin to authenticate users on a custom registration/login page, and it's working great! However, I've run into an issue with regular registration.

I can successfully register a user, but something goes wrong when I try to retrieve their data. If I'm logged in and navigate to /api/users/me, I get a validation error saying "The following fields are invalid: username, role, email", even though the those fields are definitely in the database for the logged-in user.

Has anyone else experienced a similar issue with this plugin or noticed something like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant