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

Validating Parse Application Id #164

Closed
ziyadparekh opened this issue Feb 2, 2016 · 1 comment
Closed

Validating Parse Application Id #164

ziyadparekh opened this issue Feb 2, 2016 · 1 comment

Comments

@ziyadparekh
Copy link

Is there functionality to validate an application id passed in through request headers? How are invalid Application IDs handled ? ie if someone submits a string that passes basic regex testing for an App ID, but that App ID doesn't actually point to a registered app, will the server throw an error? Or is validating application IDs out of the scope of this server ?

@gfosco
Copy link
Contributor

gfosco commented Feb 2, 2016

It is taken from the header and must be a valid configured app. You can see this in middlewares.js. Behavior should be the same as API.parse.com in regards to sending an invalid id.

@gfosco gfosco closed this as completed Feb 2, 2016
montymxb pushed a commit to montymxb/parse-server that referenced this issue Feb 14, 2016
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