Commit Graph

240 Commits

Author SHA1 Message Date
Seth Vargo
c022bd29f8
Add log output to bug template (#53) 2021-11-22 11:27:32 -05:00
Seth Vargo
3ecfcdb218
Fix issue template 2021-11-11 14:15:40 -05:00
Seth Vargo
6c3096cce2
Use YAML templates for issues (#47) 2021-11-11 14:14:37 -05:00
Seth Vargo
f56f5989ce
Pull user-agent version from module (#45) 2021-11-10 13:39:13 -06:00
Bharath KKB
19e4d7845e
chore: switch to using test-infra resources (#44)
* chore: switch to using test-infra resources

* swap secret name
2021-11-09 21:40:23 -06:00
Seth Vargo
a61909d048
Description < 125 characters 2021-11-09 16:13:20 -05:00
Seth Vargo
b759bed608
Bump README to v0.4.0 2021-11-09 16:11:11 -05:00
Seth Vargo
f014f2369a
Fallback to ref (#43) 2021-11-09 15:08:31 -06:00
Seth Vargo
d5ed5bab89
Handle non-pull request runs (#42)
github.head_ref is only available in PRs, so the build failed on main
2021-11-09 11:59:19 -06:00
Seth Vargo
d97e31546b
Ensure files are compiled as part of CI (#41)
* Ensure files are compiled as part of CI

* Install deps there too
2021-11-08 20:01:39 -06:00
Seth Vargo
2f0b4dbd9b
Add support for specifying authentication via JSON service account keys (#37)
* Add support for specifying authentication via JSON service account keys

* Update README.md

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>

* Update README.md

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>

* Update README.md

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>

* Review feedback

* Undo interface

* Use TokenCreator instead

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
2021-11-08 17:13:59 -05:00
Bharath KKB
d5a354ef10
chore: refactor WIF (#33)
* define common interfaces

* common base client

* refactor WIF to use interfaces and base client

* refactor main

* add build in CI

* add name for build step

* address comments

* fix import

* interface for credfile return

* regen dist
2021-10-12 23:17:42 -04:00
Seth Vargo
3fe2a3779a
Expand error message when GitHub envvars are not present (#31)
This points people to the GitHub Actions permissions documentation, which will help with troubleshooting token permission errors.
2021-10-06 11:26:23 -07:00
Seth Vargo
90e80b8d07
Update to new STS URL (#30)
Per https://twitter.com/chrisrpatterson/status/1445773065221128203. This is still rolling out.
2021-10-06 11:22:19 -07:00
Seth Vargo
abe0e87145
Bump version used in README examples (#26) 2021-10-04 09:35:28 -07:00
Seth Vargo
f3c3e206c9
Default audience to the WIF provider ID (#23) 2021-10-04 09:14:08 -07:00
Seth Vargo
02f3d58995
Clean up a few typescript warnings (#25) 2021-09-30 13:07:11 -07:00
Seth Vargo
60904d8a0d
Upgrade actions/core to release version (#21) 2021-09-28 17:07:49 -04:00
Seth Vargo
b3b82c7f1e
chore: Add issue/pr templates, note test failures likely (#19) 2021-09-27 19:33:43 -05:00
Bogdan A
7296e5030f
docs: remove unnecessary steps and update examples (#15) 2021-09-27 12:59:53 -04:00
Niels Hofmans
f8bb88e07e
chore: add read privileges to readme (#18) 2021-09-27 11:21:07 -04:00
Yuki Furuyama
0583f8fbeb
s/access_token/id_token/ for id_token_include_email input (#13) 2021-09-23 20:45:22 -04:00
Seth Vargo
fe9d1eddf5
Update README.md (#14) 2021-09-23 20:44:24 -04:00
Seth Vargo
1854238d2d
Add a note about overriding default permissions
Fixes GH-12
2021-09-22 21:31:59 -04:00
Seth Vargo
5f24906e9b
Create CODEOWNERS (#11) 2021-09-22 10:10:39 -04:00
gregoireW
f660f85abd
Fix a typo in the README for usage instructions
Signed-off-by: gregoireW <24318548+GregoireW@users.noreply.github.com>
2021-09-22 08:59:42 -04:00
Seth Vargo
fb26879445
Update references to google now (#8) 2021-09-21 19:30:30 -04:00
Seth Vargo
2dd133ffa2
Bump version 2021-09-21 18:11:17 -04:00
Seth Vargo
febe21311b
Add the ability to generate and export a credentials file (#7)
This credentials file can be passed to gcloud or other Google Cloud SDKs to automatically do the exchange.
2021-09-21 18:10:27 -04:00
Seth Vargo
c7bb6ad28f
access_token_scopes is not required 2021-09-21 12:25:09 -04:00
Seth Vargo
bbbd1424f7
Add example of attribute mapping repos 2021-09-21 12:23:39 -04:00
Seth Vargo
03500c2f23
Fix readme 2021-09-20 21:29:09 -04:00
Seth Vargo
ddb73aed67
Set user-agent header 2021-09-20 21:02:56 -04:00
Seth Vargo
ad2dddb569
Even more README fixes 2021-09-20 11:44:31 -04:00
Seth Vargo
5e33466111
Fix readme 2021-09-20 11:41:07 -04:00
Seth Vargo
cb396c3f31
Refactor to support access and id tokens (#3) 2021-09-18 12:12:21 -04:00
Bharath KKB
afef6a5b6d
feat: use actions/core for getting gh OIDC token (#2)
Co-authored-by: Seth Vargo <seth@sethvargo.com>
2021-09-18 11:35:52 -04:00
Yuki Furuyama
e13dfdd573
Support ID Token generation (#1)
* Support id token generation

* Fix id_token_audience validation

* Add id_token_audience to test workflow

* Generate dist/index.js for id token support
2021-09-18 11:34:46 -04:00
Seth Vargo
271e0346a0
Add example 2021-09-16 13:00:02 -04:00
Seth Vargo
688a7bd017
Initial commit 2021-09-16 12:54:29 -04:00