You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: