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
In cloud function, if you set Parse.Cloud.useMasterKey() at the begin of your code and at the end of your code you call a other cloud function but you want to run this whit a user session, you need to pass the sessionToken.
On hosted Parse? In parse-server, or node in general, Parse.Cloud.useMasterKey is not available... You must pass the sessionToken:token or useMasterKey:true options to the save/query/run calls.
In cloud function, if you set Parse.Cloud.useMasterKey() at the begin of your code and at the end of your code you call a other cloud function but you want to run this whit a user session, you need to pass the sessionToken.
Because you have set Parse.Cloud.useMasterKey at the begin of your code, your cloud function you try to run whit user session will run as master.
Why sessionToken does not override the masterKey if present ?
The text was updated successfully, but these errors were encountered: