Comments (5)
Seems like you just need a JSON file with {"web":{"client_email": ""}}, maybe better just to have a text field for the client email from the service account.
from google-oauth-plugin.
Yeah, this seems to have changed — only "Create new Client ID" followed by choosing "Web application" (rather than "Service account") leads to the "Download JSON" button mentioned in the plugin. Creating a Service account and hitting "Generate new JSON key" generates a new key pair and outputs a different JSON format.
Being able to just enter the client email ID would be easiest. Failing that, maybe requiring only the service account JSON file, as it seems to contain all the details required, including private key?
(I'm trying to use this plugin for the Android publisher API, which seems to need a service account rather than an web app OAuth client)
Any thoughts, @mattmoor?
from google-oauth-plugin.
It seems the correct JSON file can still be downloaded from the old console at https://code.google.com/apis/console?noredirect — there you can hit the "Download JSON" link.
That JSON file works fine with this plugin, and I was able to access the Android scope with my service account.
Note the noredirect
to avoid being redirected to the nice new console.developers.google.com version, which doesn't have the JSON option :)
from google-oauth-plugin.
wouldn't it be nice to give the user the options how he provides the service account email address and private key?
first option would be to provide this data through the json file downloaded from the new cloud console. it seems to contain everything that is needed.
secend option would be to just let the user input the email address and private key in textboxes.
i personally would prefer the second option but to make it easy for the user also let him provide the json file.
from google-oauth-plugin.
Updating documentation tracked by #71
from google-oauth-plugin.
Related Issues (20)
- Can't handle class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig#jsonKeyFileUpload: type is abstract but not Describable. HOT 1
- adding new oauth crendentials result in unhandled exception HOT 2
- add withCredentials support
- `/jnlpJars/agent.jar` can no longer be accessed anonymously
- Version 1.1.1 unable to access service account from metadata HOT 5
- Warning logs on Jenkins Start: Failed to load com.google.jenkins.plugins.credentials.oauth.OAuth2Credentials$DescriptorImpl HOT 7
- Not able to update to the 1.318.vb_39c5db_e3041 version - java class not found errors HOT 1
- Workload Federation outside of GCP
- Make documentation consistent with other plugins HOT 2
- The plugin seems incompatible with JCASC HOT 4
- Occasionally not able to authenticate on Jenkins start
- Example for usage in pipeline HOT 9
- Can't find Credential by ID at Folder level HOT 3
- Does not work with Workload Identity on GKE HOT 7
- Update com.google.guava:guava version to address security vulnerability HOT 1
- No configurator found for type class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentialsModule HOT 3
- NullPointerException com.google.jenkins.plugins.googlecontainerregistryauth.GoogleContainerRegistryTokenSource.convert HOT 6
- Clarifying build instructions
- jcasc with Jenkins on K8S, Jenkins fails to start HOT 2
- Update to JDK 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-oauth-plugin.