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

Login.parameters correction #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Login.parameters correction #2

wants to merge 3 commits into from

Conversation

Thibaut-Gudin
Copy link
Contributor

No description provided.

?email:string ->
?scopes:Ojs.t list ->
?user:user ->
?scopes:scopes ->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scopes is just a string

user is an output of the login function, not a parameter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can "scopes" just be a string?

From what I read in the library:

<< The default scopes requested are profile and email (always requested). To request other scopes, add them as a space-separated list to the scopes parameter. They will be requested exactly as passed in. Refer to the Google Scopes documentation for info on valid scopes that can be requested. For example, 'scope': 'https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/tasks'. >>

From what I can tell it seems that "scopes" should at least be a "string list".

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

Successfully merging this pull request may close these issues.

2 participants