I’m using the Google Login plugin with Jenkins (ie: Manage Jenkins → Security → Security Realm → Login with Google). I’m trying to switch my git hook to start jobs using API tokens instead of crumbs, as described here.
However when running curl or wget as instructed
wget --auth-no-challenge \
--user="MY GOOGLE EMAIL" --password="MY API TOKEN I GENERATED AT /CONFIGURE" \
https://myProject.jenkins.com/job/myJob/build
the request is redirected to google’s external identity provider. Is there a way to make this work? Do these two features not coexist?