149 Commits

Author SHA1 Message Date
Ming
48b7b75ac1 add transporter_options 2016-10-21 20:12:55 +08:00
Ming
e9ac552414 add extra_opts 2016-10-21 18:49:30 +08:00
Michael Lumish
4a0b7fc0e4 Merge pull request #96 from bjwatson/prepare-0.9.9
Prepare for 0.9.9 release
v0.9.9
2016-10-14 10:40:35 -07:00
Brian J. Watson
b9583178cb Prepare for 0.9.9 release 2016-10-14 10:30:35 -07:00
Michael Lumish
1c2d853c5a Merge pull request #98 from jmdobry/default-project
Add support for detecting project ID. Fixes #97
2016-10-14 10:20:10 -07:00
Jason Dobry
6921be61e3 Add support for detecting project ID. Fixes #97 2016-10-03 11:30:41 -07:00
Tim Emiola
02f587472e Merge pull request #95 from MarkHerhold/patch-1
Test against Node.js 4 and 6 LTS
2016-09-08 07:08:07 +09:00
Mark Herhold
bb541add86 Test against Node.js 4 and 6 LTS 2016-09-04 12:50:37 -04:00
Tim Emiola
c1a0e69460 Merge pull request #75 from Gameleon12/master
Added support for array of valid audiences
2016-08-26 06:44:57 +09:00
Gameleon12
9c852f58c9 Split off array of valid audience unit test
Split off array of valid audience unit test into seperate unit test
2016-08-25 08:32:04 +02:00
Gameleon12
6a9ead1260 Updated unit tests to include test for array of valid audiences 2016-08-24 21:18:48 +02:00
Gameleon12
9a4c0f0d6f Merge remote-tracking branch 'upstream/master' 2016-08-24 20:58:39 +02:00
Tim Emiola
62b0d410b8 Merge pull request #94 from tbetbetbe/upgrade-request-dependency
Upgrade request to 2.74.x
2016-08-24 14:17:44 +09:00
Tim Emiola
b921360063 Upgrade request to 2.74.x 2016-08-23 22:03:29 -07:00
Tim Emiola
0a9da0a6fa Merge pull request #91 from pantheon-systems/fix_symlink_credentials
Handle symlinks to default application credentials
2016-08-24 13:29:28 +09:00
Tim Emiola
9bdc3a414d Merge pull request #93 from mortonfox/patch-1
Fix the dev console links
2016-08-24 13:28:06 +09:00
Morton Fox
0d6803fd1e Fix the dev console links 2016-08-23 00:27:38 -04:00
Jonathan Porta
785c514970 Handle symlinks to default application credentials
When using Kubernetes 1.3 secrets with Node.js the secret volume can be
a symbolic link to the credentials file. Previously, this would throw an
error due to the assertion of lstat.isFile(). This patch adds real path
resolution prior to asserting that filePath points to valid file.
2016-08-04 14:32:44 -06:00
Gameleon12
2e20d84fc0 Merge remote-tracking branch 'upstream/master' 2016-06-05 11:56:30 +02:00
Michael Lumish
6f9838e793 Merge pull request #86 from PatrickHeneise/patch-1
Medium severity vulnerability
2016-06-01 13:07:43 -07:00
Patrick Heneise
3095ca2846 Medium severity vulnerability
Please update request:

✗ Medium severity vulnerability found on request@2.60.0
- desc: Remote Memory Exposure
- info: https://snyk.io/vuln/npm:request:20160119
- from: myproject > googleapis@7.1.0 > google-auth-library@0.9.8 > request@2.60.0
Your dependencies are out of date, otherwise you would be using a newer request than request@2.60.0.

https://snyk.io/vuln/npm:request:20160119
2016-06-01 22:00:20 +02:00
Tim Emiola
3b462ba801 Merge pull request #85 from tbetbetbe/prepare-version-0.9.8
Prepare version 0.9.8
2016-05-10 11:46:30 -07:00
Tim Emiola
781507d8eb Prepare version 0.9.8 2016-05-10 11:44:48 -07:00
Tim Emiola
6dbd76456e Merge pull request #80 from murgatroid99/pem_existence_check
Check that pem exists before verifying it.
2016-05-10 10:04:50 -07:00
Tim Emiola
e1db5b8f9e Merge pull request #84 from matthewloring/headers
Fix User-Agent header
2016-05-10 10:04:39 -07:00
Matt Loring
0d7d51242f Fix User-Agent header
Prevent User-Agent header from growing with each request.

Fixes #83
2016-05-03 21:02:06 +02:00
murgatroid99
421106d743 Merge branch 'master' into pem_existence_check 2016-04-01 11:42:31 -07:00
Michael Lumish
561748556d Merge pull request #77 from murgatroid99/auth_request_handle_errors
Make Oauth2Client#request retry on auth errors as documented
2016-04-01 11:28:38 -07:00
murgatroid99
8408308735 Fix some lint errors 2016-04-01 11:21:52 -07:00
murgatroid99
5c63fc7e3f Merge branch 'master' into auth_request_handle_errors 2016-04-01 11:15:47 -07:00
Tim Emiola
229b0ca66b Merge pull request #79 from murgatroid99/fix_lint_errors
Capitalize constructor names everywhere to satisfy linter
2016-04-01 10:53:36 -07:00
murgatroid99
79a732948c Check that pem exists before verifying it. 2016-04-01 09:55:35 -07:00
murgatroid99
14009b9fed Capitalize constructor names everywhere to satisfy linter 2016-04-01 09:42:48 -07:00
murgatroid99
3ce01ec28a Added test for OAuth2Client#request retry, fixed implementation 2016-03-25 11:00:42 -07:00
murgatroid99
2b5ebfc85c Make Oauth2Client#request retry on auth errors as documented 2016-03-24 17:27:05 -07:00
Gameleon12
36b2f982b8 Added support for array of valid audiences
Added support for array of multiple valid audiences to verify a Google
ID token.
2016-03-24 00:18:16 +01:00
Michael Lumish
e70335a986 Merge pull request #73 from sammcveety/patch-1
Update README.md
2016-02-11 14:01:26 -08:00
sammcveety
6a0c5e4998 Update README.md
Fix syntax error in README.md
2016-02-11 13:39:40 -08:00
Tim Emiola
fa46b605e0 Merge pull request #66 from yamafaktory/master
Fixed returned toString encoding of OAuth2Client.prototype.decodeBase64 method.
2015-11-12 14:53:44 -08:00
Tim Emiola
18f0691589 Merge pull request #69 from jonparrott/patch-1
Use full compute metadata DNS name
2015-11-12 14:51:27 -08:00
Jonathan Wayne Parrott
610ab17ad4 Use full compute metadata DNS name
Use the `metadata.google.internal` instead of just `metadata`. This enables Compute Engine auth to work on Kubernetes, Container Engine,  and Container-Optimized VMs and setups with custom DNS servers. Otherwise, the DNS lookup for `metadata` will fail.
2015-11-12 10:55:11 -08:00
yamafaktory
01164b56fe Fixed returned toString encoding of OAuth2Client.prototype.decodeBase64 method. 2015-11-12 09:14:41 +01:00
Tim Emiola
3abef5c2e5 Merge pull request #64 from tbetbetbe/node-auth-prepare-version-0.9.7
Node auth prepare version 0.9.7
2015-11-06 17:26:05 -08:00
Tim Emiola
14d9ab4c52 Update version to 0.9.7 2015-11-06 17:21:30 -08:00
Tim Emiola
55251333c6 Updates the changelog for 0.9.7 2015-11-06 17:21:30 -08:00
Tim Emiola
98bd3179f7 Merge pull request #63 from mcduan/master
Accept the new issuer value for Google ID tokens.
2015-10-27 07:34:36 +09:00
Mengcheng Duan
f70f73b66d Accept either "accounts.google.com" or "https://accounts.google.com" as
the issuer of the ID token issued by Google.
2015-10-20 16:09:20 -07:00
Tim Emiola
64dd60680f Merge pull request #60 from ryan-devrel/master
Prevent status 200 responses from being reported as errors.
2015-09-04 11:24:16 -07:00
Ryan Roth
1f848ac4f1 Update to prevent status code 200 messages from being flagged as errors. 2015-09-04 13:31:25 -04:00
Ryan Roth
c7faff5670 Updating test to not have 200 status code for error response. 2015-09-04 12:46:21 -04:00