Commit Graph

115 Commits

Author SHA1 Message Date
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
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
Ryan Roth
323b794f3a Prevent status 200 messages from being reported as errors. 2015-09-04 12:24:18 -04:00
Tim Emiola
e7edab306a Merge pull request #48 from josephpage/patch-1
Update async & request
2015-08-28 12:00:33 -07:00
Joseph Page
052aadcc44 update async 1.4.2 2015-08-13 15:55:33 +02:00
Joseph Page
b05d907c9a Add tests for node 0.12 and iojs 2015-08-06 12:38:33 +02:00
Joseph Page
0fb3ea96be update async & request 2015-08-06 12:37:05 +02:00
Tim Emiola
9fb3cec2d6 Merge pull request #44 from riblee/fix-jsdoc
Update oauth2client.js
2015-07-28 09:35:28 -07:00
Reibl János Dániel
20eebb5169 Update oauth2client.js
Fix typo in jsDoc.
2015-07-21 09:33:17 +02:00
Tim Emiola
2c9e5ebe89 Merge pull request #43 from ofrobots/patch-1
Update README.md
2015-06-09 12:26:18 -07:00
Ali Ijaz Sheikh
a95fb4f8f7 Update README.md
The example needs to be modified somewhat since this code moved out of the googleapis package.
2015-06-08 16:06:02 -07:00
Tim Emiola
71511d08a0 Merge pull request #40 from tbetbetbe/node-auth-prepare-release-0.9.6
Node auth prepare release 0.9.6
2015-05-21 17:46:50 -07:00
Tim Emiola
527d37f3b1 0.9.6 2015-05-21 14:37:42 -07:00
Tim Emiola
dacdde3b7b Adds more detail to CONTRIBUTING.md 2015-05-21 13:02:10 -07:00
Tim Emiola
7c46d63f17 Remove incomplete npm commands 2015-05-21 12:43:52 -07:00
Tim Emiola
12fd81888f Merge pull request #39 from tbetbetbe/node-auth-correct-jwt-get-request-metadata
Node auth correct jwt get request metadata
2015-05-21 08:25:38 -07:00
Tim Emiola
a44331e39d Fixes #36
Updates getRequestMetadata invocation to return a value.

- JWTAccess.getRequestMetadata corrected
- OAuth2.getRequestMetadata corrected
- JWT.getRequestMetadata corrected

Also,
- cleans up naming around callbacks where relevant
2015-05-20 13:59:28 -07:00
Tim Emiola
8c94220a2c Cleans up code associated with callbacks
- Replaces usage of the local callback() func with lodash.noop
- Renames callback arguments to confirm with Google style guide
2015-05-20 12:47:54 -07:00
Tim Emiola
e44071eaef Merge pull request #38 from fiznool/master
Fixed error code not being parsed correctly.
2015-05-18 07:03:29 -07:00
Tom Spencer
577fbd55ec Fixed test specs 2015-05-18 12:20:49 +01:00
Tom Spencer
79f043e5b9 Fixed error code not being parsed correctly. 2015-05-18 12:13:42 +01:00
Tim Emiola
ce7f974099 Merge pull request #35 from tbetbetbe/release-0.9.5
Update for release
2015-05-07 11:00:05 -07:00
Tim Emiola
77d50539b5 Update for release 2015-05-07 10:46:07 -07:00
Tim Emiola
d25da750b2 Merge pull request #34 from tbetbetbe/nodejs-auth-correct-refresh-token
Corrects usage of refresh token in jwt client.
2015-05-07 08:49:59 -07:00
Tim Emiola
758adcb2f4 Corrects usage of refresh token in jwt client.
Fixes #28
2015-05-06 20:25:17 -07:00
Tim Emiola
7601f5eb2b Merge pull request #29 from tbetbetbe/nodejs-auth-add-jwt-header-creds
Nodejs auth: add jwt header creds
2015-05-06 20:07:48 -07:00
Tim Emiola
697baf0da5 Update implementations of getRequestMetadata 2015-05-06 20:01:23 -07:00
Tim Emiola
d4738f9f71 Replace maybeCall_ with lojack.noop 2015-05-04 14:25:48 -07:00
Tim Emiola
2897dbdef8 Remove unnecessary dependencies 2015-05-04 14:05:07 -07:00
Tim Emiola
3df6196885 Rename JWTHeader => JWTAccess 2015-05-04 13:49:05 -07:00
Tim Emiola
f2b1c540fd Renames IAM => IAMAuth 2015-05-04 13:36:20 -07:00
Tim Cuthbertson
71ad3c8c03 add test for multiple response errorsg 2015-05-04 13:36:20 -07:00
Tim Cuthbertson
59573c6e88 Create a meaningful error from response.error.errors array 2015-05-04 13:36:20 -07:00
Tim Emiola
2911180c16 Adds an implementation of IAM credentials 2015-05-04 13:36:20 -07:00
Ryan Seys
904dc16f96 Do not set type on error object 2015-05-04 13:36:19 -07:00
Tim Emiola
59762790bf Merge pull request #31 from tbetbetbe/nodejs-auth-add-iam-creds
Adds an implementation of IAM credentials
2015-05-04 11:33:04 -07:00