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

Program (redwood projectCode) cannot contain periods or spaces #35

Open
benjaminran opened this issue Jun 7, 2017 · 0 comments
Open

Comments

@benjaminran
Copy link
Contributor

The 'program' field of the input tsv is used as the metadata projectCode and middle component of the required scope a redwood access token needs to have in order to access the bundle corresponding to the input tsv. Since the different components of access token scopes are period-delimited, the program shouldn't contain periods (or if it had to they should be escaped). I think this should be added to the jsonschema.

Though escaping of spaces is already implemented, I'll mention for posterity that spaces also can't occur in the projectCode/scope because oauth2 passes sets of scopes as space-delimited strings.

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

1 participant