Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Auth instance in Cloud Code #1683

Closed
oallouch opened this issue Apr 30, 2016 · 1 comment
Closed

Using Auth instance in Cloud Code #1683

oallouch opened this issue Apr 30, 2016 · 1 comment

Comments

@oallouch
Copy link
Contributor

Hi,

I'm not sure how to use the Auth class in my Cloud Code.
I'd like to do some security checks in my before/afterSave methods.
Is it possible to use the already created Auth instance added in req by middleware.js ?
Should I create another one using the session token ?
Should I make my own Role queries ?

Thx a lot in advance,

Olivier Allouch
www.illicotravel.com

@flovilmart
Copy link
Contributor

Closing due to lack of activity, please update to latest parse-server version and reopen if the issue persist.

Don't forget to include your current:

  • node version
  • npm version
  • parse-server version
  • any relevant logs (VERBOSE=1 will enable verbose logging)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants