Skip to content

xero-python-oauth2-app Scope Checking Warning Flag fix #47

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leegough
Copy link
Contributor

https://www.rfc-editor.org/rfc/rfc6749#section-3.3

OAuth library reference:

https://github.com/oauthlib/oauthlib/blob/564d526fdbdc32a936e4b5ddac186c26024f626b/oauthlib/oauth2/rfc6749/parameters.py#L466

Security considerations

Setting this variable indicates to Google to return different OAuth scopes than requested; Google is known to do this sometimes. IBM utilise this flag in OneDrive StoredIQ in production server instances. Reference:

https://www.ibm.com/support/pages/system/files/inline-files/$FILE/IBMSIQAdministratorAdminGuide76018.pdf

https://www.rfc-editor.org/rfc/rfc6749#section-3.3

OAuth library reference:

https://github.com/oauthlib/oauthlib/blob/564d526fdbdc32a936e4b5ddac186c26024f626b/oauthlib/oauth2/rfc6749/parameters.py#L466

Setting this variable indicates to Google to return different OAuth scopes than requested; Google is known to do this sometimes. IBM utilise this flag in OneDrive StoredIQ in production server instances. Reference:

https://www.ibm.com/support/pages/system/files/inline-files/$FILE/IBMSIQAdministratorAdminGuide76018.pdf
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.

Scope checking is too strict and causes error when the number of scopes requested is reduced
2 participants