parse-community / parse-server

Parse Server for Node.js / Express
https://parseplatform.org
Apache License 2.0
20.7k stars 4.76k forks source link

Parse.Cloud.beforeLogin doesn't trigger the first time when linked with AuthData. #9050

Closed kyawswarthwin closed 3 months ago

kyawswarthwin commented 3 months ago

Parse.Cloud.beforeLogin doesn't trigger the first time when linked with AuthData.

parse-github-assistant[bot] commented 3 months ago

Thanks for opening this issue!

mtrezza commented 3 months ago

Should it trigger at all? Linking may not be considered a login, but a user update event, which you could probably catch in the beforeSave trigger. The docs say that it should run on an auth data login, which I understand must have the auth data already stored, so after the linking.

mtrezza commented 3 months ago

Closing as issue seems to be resolved.