Skip to content

fields are invalid #26

@erzoooooor

Description

@erzoooooor

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions