Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Stop sending scopes in token requests on GCE #419

Merged
merged 1 commit into from
Feb 20, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Feb 19, 2016

NOTE: Has #411 as diffbase.

@@ -51,13 +59,17 @@ class AppAssertionCredentials(AssertionCredentials):
"""

@util.positional(2)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -107,7 +117,7 @@ def serialization_data(self):
'Cannot serialize credentials for GCE service accounts.')

def create_scoped_required(self):
return not self.scope
return False

This comment was marked as spam.

Also check to warn a user when a scope is passed (since scopes
have no effect for GCE service accounts).
if scope:
warnings.warn(_SCOPES_WARNING)
# This is just provided for backwards compatibility, but is not
# used by this class.

This comment was marked as spam.

@dhermes
Copy link
Contributor Author

dhermes commented Feb 20, 2016

@nathanielmanistaatgoogle What remains to be done here?

@nathanielmanistaatgoogle
Copy link
Contributor

To my knowledge nothing remains to be done here. Merge?

@dhermes
Copy link
Contributor Author

dhermes commented Feb 20, 2016

Good deal.

dhermes added a commit that referenced this pull request Feb 20, 2016
Stop sending scopes in token requests on GCE
@dhermes dhermes merged commit e51daef into googleapis:master Feb 20, 2016
@dhermes dhermes deleted the fix-gce-acquire-2 branch February 20, 2016 01:20
@dhermes dhermes mentioned this pull request Mar 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants