Commit Graph

246 Commits

Author SHA1 Message Date
Justin Beckwith c1e0f44486
chore: add CODEOWNERS (#273) 2020-09-16 15:26:45 -07:00
Daniel Azuma 06b2555122
Release 0.13.1 (#271) 2020-07-30 14:34:51 -07:00
Hayden Ball 48c689aa93
fix: Pass scope through when getting metadata-based access tokens 2020-07-08 08:13:38 -07:00
Daniel Azuma dcdf7cddbf
Release google-auth-library-ruby 0.13.0 (#267)
* Support for validating ID tokens.
* Fixed header application of ID tokens from service accounts.
2020-06-18 07:30:28 -07:00
Daniel Azuma 4df620978c
feat: Support for ID token validation 2020-06-17 08:13:42 -07:00
Daniel Azuma a3f3b994ab
fix: Service account credentials properly apply ID tokens 2020-06-16 13:35:39 -07:00
Daniel Azuma 9bcac01574
Release google-auth-library-ruby 0.12.0 (#261)
* Support for ID token credentials.
* Support reading quota_id_project from service account credentials.
2020-04-11 15:14:02 -07:00
Daniel Azuma c7f82f29f8
feat: Support for ID token credentials. 2020-04-07 17:19:29 -07:00
David Supplee e9f8ecafb5
chore: update github url (#255)
Co-authored-by: Daniel Azuma <dazuma@google.com>
2020-03-27 12:40:28 -06:00
David Supplee 5b6ef36a67
chore: update github url 2020-03-16 08:33:17 -07:00
Daniel Azuma 61c1e64d5b
feat: read quota_project_id from credentials 2020-03-06 16:56:16 -08:00
Daniel Azuma 41f0333614
Release google-auth-library-ruby 0.11.0 2020-02-24 15:18:29 -08:00
d-m-u de8e9e42af
feat: support Faraday 1.x 2020-02-24 14:23:05 -08:00
Chris Smith d80900156a
Add whitelisted 'postmessage' to valid redirect URIs (#249)
closes: #92
2019-12-02 10:11:13 -07:00
Graham Paye 4928d44072
add v to version in docs url (#246) 2019-10-29 16:08:50 -07:00
Graham Paye b33b25c3fb
chore: use docker images from google-cloud-ruby (#244) 2019-10-17 18:12:43 -07:00
Graham Paye 584ad57d7d
chore: run linkinator on merges to master (#243) 2019-10-11 16:39:41 -07:00
Graham Paye a6082d158b
chore: publish to googleapis.dev on release (#242) 2019-10-11 10:56:55 -07:00
Daniel Azuma 6be995d29a
Release google-auth-library-ruby 0.10.0 (#240)
Note: This release now requires Ruby 2.4 or later

* Increase metadata timeout to improve reliability in some hosting environments
* Support an environment variable to suppress Cloud SDK credentials warnings
* Make the header check case insensitive
* Set instance variables at initialization to avoid spamming warnings
* Pass "Metadata-Flavor" header to metadata server when checking for GCE
2019-10-09 12:16:27 -07:00
Daniel Azuma fe4220244c
Require Ruby 2.4 and Signet 0.12 (#236) 2019-10-09 11:25:44 -07:00
Daniel Azuma 5523a75fc3
Fixes to release scripts (#238) 2019-10-09 10:55:44 -07:00
Daniel Azuma 41bb5f13b2
fix: Increase metadata timeout, matching the logic in google-cloud-env 2019-10-08 11:33:03 -07:00
Cera 9c46b3b049 feat: Support an environment variable to suppress Cloud SDK credentials warnings 2019-10-08 10:00:36 -07:00
Abdulrahman Khalil be7599f536 Make the header check case insensitive (#223) 2019-10-07 19:44:54 -07:00
Graham Paye 356d8fcaa8
chore: set os and trampoline_script (#234) 2019-09-24 08:05:26 -07:00
Ling Huang 2cd6af174d fix: Set instance variables at initialization to avoid spamming rake warnings 2019-08-15 18:46:38 -07:00
Spring_MT efb9b7897a fix: Pass "Metadata-Flavor" header to metadata server when checking for GCE 2019-08-13 10:28:08 -07:00
Daniel Azuma 464d2650d0 Prepare for v0.10 development 2019-08-05 18:55:27 -07:00
Daniel Azuma c5e5f55bfe
fix: Arity of WebUserAuthorizer#get_credentials should be compatible with base class 2019-07-26 08:19:06 -07:00
Piotr Usewicz b9531ea662 remove Travis build status (#219)
Travis is not configured for this repo anymore.
2019-06-11 11:08:42 -07:00
Ryan Brushett e85ce29f00 add retry on error for fetch_access_token (#213) 2019-06-10 13:52:45 -07:00
Piotr Usewicz 9e797f13b8 allow specifying custom state key-values (#218) 2019-06-10 11:21:11 -07:00
igorpeshansky f2f83b20bc add verbosity none to gcloud command (#215) 2019-05-15 16:06:10 -07:00
Mike Moore a33a640e61
Credentials: Use methods instead of constants (#212)
Update Credentials to use methods for values that are intended to
be changed by users, replacing constants.
Add Credentials documentation.
2019-05-07 17:56:17 -06:00
Chris Smith 63381e4d9c
Fix Rubocop errors (#214)
* Fix for google-style 0.3.0 change to Style/WordArray.
* Update google-style dependency to 0.3.
2019-05-07 12:13:17 -06:00
Mike Moore f6e8355edd
Credentials Environment Variable Refactor (#211)
* Refactor env var methods
  Have the iteration return for the first match, instead of comparing
  all elements and choosing the first one that matches.
* Combine file and json credentials detection
  Allow an environment variable to contain either a file path
  or JSON to describe the credentials.
  This change matches how these variables are used in Google Cloud.
2019-05-01 15:04:48 -06:00
Graham Paye b4feeb6188
setup windows builds to track google-cloud-ruby (#209) 2019-04-04 13:20:58 -07:00
Yasuo Honda 9ca53d24ff Bump the minimum supported Ruby version from 1.9 to 2.3 (#208) 2019-04-04 10:21:27 -07:00
Daniel Azuma c0f3b70072
Release google-auth-library-ruby 0.8.1 (#207) 2019-03-27 11:46:30 -07:00
igorpeshansky 23f9b5071f Treat empty credentials environment variables as unset. (#205) 2019-03-27 10:55:08 -07:00
Graham Paye 43ebe19be9
pull build scripts from google-cloud-ruby (#206) 2019-03-22 12:37:06 -07:00
Graham Paye bf822910fa
add google-style and refactor (#203) 2019-03-15 12:34:54 -07:00
Graham Paye 1c64927249
update ci rubies (#204) 2019-03-14 22:29:42 -07:00
Graham Paye f1600d9d43
add ruby 2.6.1 (#201) 2019-03-05 15:07:49 -08:00
Graham Paye 0d25f3a10f
prepare for autorelease (#199) 2019-02-27 08:06:41 -08:00
Graham Paye 4831d41d73
prepare for autorelease (#197) 2019-02-22 10:38:05 -08:00
Graham Paye d765472f35
switch gcloud command to IO.popen from backticks (#194) 2019-02-21 14:38:34 -08:00
Graham Paye e6a8fed091
remove travis and add 2.6 to list of rubies to test against (#191) 2019-01-30 14:02:27 -08:00
Alex Filatov b4516ab3d1 Add example for auth with ENV vars (#156) 2019-01-22 11:44:56 -08:00
Daniel Azuma a07011bb45
Loosen bundler dependency to fix travis 2019-01-04 14:07:50 -08:00