-
Notifications
You must be signed in to change notification settings - Fork 228
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
AppEngineCredential depends on legacy bundled service #1384
Comments
And why |
I guess you meant From the code, it looks like The App engine code to add scopes: For the Java specific question, I will leave it to our Java expert. |
For now, we have to bring back legacy service and use the old way to get a token that with scopes. |
Also for the code you pointed above: https://github.com/googleapis/google-auth-library-java/blob/main/oauth2_http/java/com/google/auth/oauth2/DefaultCredentialsProvider.java#L197-L199 |
Hello, we are upgrading GAE from Java 8 to 11 and also trying to get ride of legacy bundled service .
Here is how we generate default AccessToken today.
The reason we do it this way is because if using
GoogleCredentials.getDefaulCredential
, because the call to .createScoped will silently proceed by doing nothing?Question:
1: How to use AppEngineCredentials without turning on legacy bundle? Because I get feature not enabled error when calling without turning it on
2: Do we still need to include
appengine-sdk1.0
in our dependency? As those imports are there:Thanks
The text was updated successfully, but these errors were encountered: