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
{{ message }}
Repository navigation
Login with authData fails when public create CLP on _User is disabled #10724
Since Parse Server 9, logging in with authData fails with Permission denied when public create is disabled on the _User class.
Login with authData uses the same POST /users request as sign-up. The create permission check added in #10268 now runs for this request even when it logs in an existing user and creates nothing. This worked in 8.x, and the REST guide describes this request as returning the existing user with a session token.
Steps to reproduce
Log in with an auth provider to create a linked user, e.g. await Parse.User.logInWith('myoauth', { authData }).
Log out.
Disable public create on _User (classLevelPermissions.create: {}).
Log in again with the same authData.
Actual Outcome
The login fails with Permission denied (code 119).
Expected Outcome
The existing user is logged in and receives a session token, as in 8.x. Signing up a new user with authData should still be denied.
Environment
Server
Parse Server version: 9.10.0, also reproduced on alpha (c3b46940)
Operating system: Linux (Docker)
Local or remote host: Google Cloud
Database
System (MongoDB or Postgres): MongoDB
Database version: 8.0.4 (test suite)
Local or remote host: local (test suite)
Client
SDK: JavaScript
SDK version: 8.6.2
Logs
With enableSanitizedErrorResponse: false:
Permission denied for action create on class _User.
at SchemaController.validatePermission
at RestWrite.validateCreatePermission
I have a fix with tests and will open a pull request.
ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
Activity
parse-github-assistant commentedon Sep 29, 2026
🚀 Thanks for opening this issue!
ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.