@riao/authn-sso-google 2.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/README.md +115 -41
- package/authentication-google.js +13 -28
- package/authentication-google.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @riao/authn-sso-google - Changelog
|
|
2
|
+
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
- Require SSO 3 and IAM 5; validate state when supplied.
|
|
6
|
+
- Forward all inherited security options, including protection and encryption.
|
|
7
|
+
- Classify expected OAuth/token rejection separately from operational
|
|
8
|
+
failures; validate responses and bound requests with safe error messages.
|
|
9
|
+
- Update the server example to store the authenticated principal in session.
|
|
10
|
+
- Regenerate lockfile registry integrity for IAM 5 and SSO 3 after their
|
|
11
|
+
coordinated publication; no local package references are shipped.
|
package/README.md
CHANGED
|
@@ -87,10 +87,14 @@ const googleAuth = new GoogleAuthentication({
|
|
|
87
87
|
### Get Authorization URL
|
|
88
88
|
|
|
89
89
|
```typescript
|
|
90
|
-
const state = await googleAuth.generateState();
|
|
90
|
+
const { state, stateBinding } = await googleAuth.generateState();
|
|
91
|
+
req.session.oauthState = state;
|
|
92
|
+
req.session.oauthStateBinding = stateBinding;
|
|
93
|
+
await new Promise<void>((resolve, reject) => {
|
|
94
|
+
req.session.save((error) => error ? reject(error) : resolve());
|
|
95
|
+
});
|
|
91
96
|
const authUrl = googleAuth.getAuthorizationUrl(state);
|
|
92
97
|
|
|
93
|
-
// Redirect user to authUrl
|
|
94
98
|
res.redirect(authUrl);
|
|
95
99
|
```
|
|
96
100
|
|
|
@@ -98,18 +102,44 @@ res.redirect(authUrl);
|
|
|
98
102
|
|
|
99
103
|
After user authorizes, Google redirects to your callback endpoint with `code` and `state`:
|
|
100
104
|
|
|
105
|
+
Require the callback's `state` to match the value saved in the browser session.
|
|
106
|
+
Pass it and the saved session binding to `authenticate`; the state is consumed
|
|
107
|
+
before the authorization code is exchanged.
|
|
108
|
+
|
|
101
109
|
```typescript
|
|
102
|
-
|
|
103
|
-
code
|
|
104
|
-
state
|
|
105
|
-
|
|
110
|
+
app.get('/auth/google/callback', async (req, res) => {
|
|
111
|
+
const code = req.query['code'];
|
|
112
|
+
const state = req.query['state'];
|
|
113
|
+
const session = req.session;
|
|
114
|
+
const stateBinding = session.oauthStateBinding;
|
|
115
|
+
if (
|
|
116
|
+
typeof code !== 'string' || !code ||
|
|
117
|
+
typeof state !== 'string' || !state ||
|
|
118
|
+
session.oauthState !== state ||
|
|
119
|
+
typeof stateBinding !== 'string' || !stateBinding
|
|
120
|
+
) {
|
|
121
|
+
res.redirect('/login?error=authentication_failed');
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
106
124
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
125
|
+
delete session.oauthState;
|
|
126
|
+
delete session.oauthStateBinding;
|
|
127
|
+
await new Promise<void>((resolve, reject) => {
|
|
128
|
+
session.save((error) => error ? reject(error) : resolve());
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
const principal = await googleAuth.authenticate({
|
|
132
|
+
code,
|
|
133
|
+
state,
|
|
134
|
+
stateBinding,
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
if (principal) {
|
|
138
|
+
// Store the authenticated principal in the application session.
|
|
139
|
+
} else {
|
|
140
|
+
res.redirect('/login?error=authentication_failed');
|
|
141
|
+
}
|
|
142
|
+
});
|
|
113
143
|
```
|
|
114
144
|
|
|
115
145
|
### Refresh Tokens
|
|
@@ -118,18 +148,13 @@ Automatically refresh access tokens using stored refresh tokens:
|
|
|
118
148
|
|
|
119
149
|
```typescript
|
|
120
150
|
// Retrieve stored token record for user
|
|
121
|
-
|
|
151
|
+
// `principal` is the authenticated principal from the callback/session.
|
|
152
|
+
const principalId = principal.id;
|
|
153
|
+
const tokenRecord = await googleAuth.getStoredToken(principalId);
|
|
122
154
|
|
|
123
155
|
// Refresh if expired
|
|
124
156
|
if (tokenRecord && tokenRecord.expires_at < new Date()) {
|
|
125
|
-
|
|
126
|
-
tokenRecord.refresh_token!
|
|
127
|
-
);
|
|
128
|
-
|
|
129
|
-
// Update token record with new values
|
|
130
|
-
tokenRecord.access_token = newTokens.access_token;
|
|
131
|
-
tokenRecord.expires_at = new Date(Date.now() + newTokens.expires_in * 1000);
|
|
132
|
-
await ssoTokenRepo.update(tokenRecord);
|
|
157
|
+
await googleAuth.refreshAccessToken(principalId);
|
|
133
158
|
}
|
|
134
159
|
```
|
|
135
160
|
|
|
@@ -139,6 +164,15 @@ if (tokenRecord && tokenRecord.expires_at < new Date()) {
|
|
|
139
164
|
import express from 'express';
|
|
140
165
|
import session from 'express-session';
|
|
141
166
|
import { GoogleAuthentication } from '@riao/authn-sso-google';
|
|
167
|
+
import { Principal } from '@riao/iam';
|
|
168
|
+
|
|
169
|
+
declare module 'express-session' {
|
|
170
|
+
interface SessionData {
|
|
171
|
+
principal?: Principal;
|
|
172
|
+
oauthState?: string;
|
|
173
|
+
oauthStateBinding?: string;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
142
176
|
|
|
143
177
|
const app = express();
|
|
144
178
|
|
|
@@ -157,36 +191,65 @@ const googleAuth = new GoogleAuthentication({
|
|
|
157
191
|
});
|
|
158
192
|
|
|
159
193
|
// Redirect to Google login
|
|
160
|
-
//
|
|
194
|
+
// Bind generated state to this browser session for CSRF protection.
|
|
161
195
|
app.get('/auth/google', async (req, res) => {
|
|
162
196
|
try {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
197
|
+
const { state, stateBinding } = await googleAuth.generateState();
|
|
198
|
+
req.session.oauthState = state;
|
|
199
|
+
req.session.oauthStateBinding = stateBinding;
|
|
200
|
+
await new Promise<void>((resolve, reject) => {
|
|
201
|
+
req.session.save((error) => error ? reject(error) : resolve());
|
|
202
|
+
});
|
|
166
203
|
const authUrl = googleAuth.getAuthorizationUrl(state);
|
|
167
204
|
res.redirect(authUrl);
|
|
168
205
|
} catch (error) {
|
|
206
|
+
console.error('Google authentication setup failed', {
|
|
207
|
+
errorType: error instanceof Error ? error.name : typeof error,
|
|
208
|
+
});
|
|
169
209
|
res.redirect('/login?error=auth_error');
|
|
170
210
|
}
|
|
171
211
|
});
|
|
172
212
|
|
|
173
213
|
// Handle Google callback
|
|
174
214
|
app.get('/auth/google/callback', async (req, res) => {
|
|
175
|
-
const
|
|
176
|
-
|
|
215
|
+
const code = req.query['code'];
|
|
216
|
+
const state = req.query['state'];
|
|
217
|
+
const session = req.session;
|
|
218
|
+
|
|
177
219
|
try {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
220
|
+
const stateBinding = session.oauthStateBinding;
|
|
221
|
+
if (
|
|
222
|
+
typeof code !== 'string' || !code ||
|
|
223
|
+
typeof state !== 'string' || !state ||
|
|
224
|
+
session.oauthState !== state ||
|
|
225
|
+
typeof stateBinding !== 'string' || !stateBinding
|
|
226
|
+
) {
|
|
227
|
+
return res.redirect('/login?error=auth_failed');
|
|
228
|
+
}
|
|
229
|
+
delete session.oauthState;
|
|
230
|
+
delete session.oauthStateBinding;
|
|
231
|
+
await new Promise<void>((resolve, reject) => {
|
|
232
|
+
session.save((saveError) =>
|
|
233
|
+
saveError ? reject(saveError) : resolve()
|
|
234
|
+
);
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
const principal = await googleAuth.authenticate({
|
|
238
|
+
code,
|
|
239
|
+
state,
|
|
240
|
+
stateBinding,
|
|
241
|
+
});
|
|
242
|
+
|
|
182
243
|
if (principal) {
|
|
183
|
-
req.session.
|
|
244
|
+
req.session.principal = principal;
|
|
184
245
|
res.redirect('/dashboard');
|
|
185
246
|
} else {
|
|
186
247
|
res.redirect('/login?error=auth_failed');
|
|
187
248
|
}
|
|
188
249
|
} catch (error) {
|
|
189
|
-
console.error('
|
|
250
|
+
console.error('Google authentication operation failed', {
|
|
251
|
+
errorType: error instanceof Error ? error.name : typeof error,
|
|
252
|
+
});
|
|
190
253
|
res.redirect('/login?error=auth_error');
|
|
191
254
|
}
|
|
192
255
|
});
|
|
@@ -194,29 +257,40 @@ app.get('/auth/google/callback', async (req, res) => {
|
|
|
194
257
|
|
|
195
258
|
## Troubleshooting
|
|
196
259
|
|
|
197
|
-
###
|
|
260
|
+
### Invalid state
|
|
198
261
|
|
|
199
|
-
|
|
262
|
+
The callback is rejected if its state does not match the value saved in the
|
|
263
|
+
browser session, the session binding is missing, or the state has expired or
|
|
264
|
+
already been consumed.
|
|
200
265
|
|
|
201
|
-
**Solution:**
|
|
266
|
+
**Solution:** Save both values returned by `generateState()` in the browser
|
|
267
|
+
session before redirecting:
|
|
202
268
|
|
|
203
269
|
```typescript
|
|
204
|
-
// ❌ WRONG -
|
|
270
|
+
// ❌ WRONG - A manually generated state has no session binding
|
|
205
271
|
app.get('/auth/google', (req, res) => {
|
|
206
|
-
const state = randomBytes(32).toString('hex');
|
|
272
|
+
const state = randomBytes(32).toString('hex');
|
|
207
273
|
const authUrl = googleAuth.getAuthorizationUrl(state);
|
|
208
274
|
res.redirect(authUrl);
|
|
209
275
|
});
|
|
210
276
|
|
|
211
|
-
// ✅ CORRECT -
|
|
277
|
+
// ✅ CORRECT - Save the generated state and binding in the browser session
|
|
212
278
|
app.get('/auth/google', async (req, res) => {
|
|
213
|
-
const state = await googleAuth.generateState();
|
|
279
|
+
const { state, stateBinding } = await googleAuth.generateState();
|
|
280
|
+
req.session.oauthState = state;
|
|
281
|
+
req.session.oauthStateBinding = stateBinding;
|
|
282
|
+
await new Promise<void>((resolve, reject) => {
|
|
283
|
+
req.session.save((error) => error ? reject(error) : resolve());
|
|
284
|
+
});
|
|
214
285
|
const authUrl = googleAuth.getAuthorizationUrl(state);
|
|
215
286
|
res.redirect(authUrl);
|
|
216
287
|
});
|
|
217
288
|
```
|
|
218
289
|
|
|
219
|
-
|
|
290
|
+
Store the generated state and binding in the user's session before redirecting
|
|
291
|
+
to Google. On callback, require the returned state to match the session value,
|
|
292
|
+
consume both session values, and pass `{ code, state, stateBinding }` to
|
|
293
|
+
`authenticate()` so it can validate the browser binding and prevent CSRF.
|
|
220
294
|
|
|
221
295
|
### "Database table not found"
|
|
222
296
|
|
package/authentication-google.js
CHANGED
|
@@ -13,10 +13,7 @@ class GoogleAuthentication extends authn_sso_1.SSOAuthentication {
|
|
|
13
13
|
redirectUri;
|
|
14
14
|
scopes;
|
|
15
15
|
constructor(options) {
|
|
16
|
-
super({
|
|
17
|
-
db: options.db,
|
|
18
|
-
provider: 'google',
|
|
19
|
-
});
|
|
16
|
+
super({ ...options, provider: 'google' });
|
|
20
17
|
this.clientId = options.clientId;
|
|
21
18
|
this.clientSecret = options.clientSecret;
|
|
22
19
|
this.redirectUri = options.redirectUri;
|
|
@@ -49,8 +46,7 @@ class GoogleAuthentication extends authn_sso_1.SSOAuthentication {
|
|
|
49
46
|
* Exchange authorization code for tokens
|
|
50
47
|
*/
|
|
51
48
|
async exchangeAuthorizationCode(code) {
|
|
52
|
-
const
|
|
53
|
-
const response = await fetch(tokenUrl, {
|
|
49
|
+
const data = await (0, authn_sso_1.requestProviderJson)('https://oauth2.googleapis.com/token', {
|
|
54
50
|
method: 'POST',
|
|
55
51
|
headers: {
|
|
56
52
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
@@ -62,31 +58,25 @@ class GoogleAuthentication extends authn_sso_1.SSOAuthentication {
|
|
|
62
58
|
redirect_uri: this.redirectUri,
|
|
63
59
|
grant_type: 'authorization_code',
|
|
64
60
|
}).toString(),
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
throw new Error(`Google token exchange failed: ${response.status}` +
|
|
68
|
-
` ${response.statusText}`);
|
|
69
|
-
}
|
|
70
|
-
return response.json();
|
|
61
|
+
}, 'Google token exchange', this.requestTimeoutMs);
|
|
62
|
+
return (0, authn_sso_1.validateTokenResponse)(data);
|
|
71
63
|
}
|
|
72
64
|
/**
|
|
73
65
|
* Fetch user information from Google userinfo endpoint
|
|
74
66
|
*/
|
|
75
67
|
async getUserInfo(accessToken) {
|
|
76
|
-
const
|
|
68
|
+
const data = await (0, authn_sso_1.requestProviderJson)('https://www.googleapis.com/oauth2/v2/userinfo', {
|
|
77
69
|
method: 'GET',
|
|
78
70
|
headers: {
|
|
79
71
|
Authorization: `Bearer ${accessToken}`,
|
|
80
72
|
'Content-Type': 'application/json',
|
|
81
73
|
},
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
throw new Error(
|
|
86
|
-
` ${response.statusText}. ` +
|
|
87
|
-
`Error details: ${errorBody}`);
|
|
74
|
+
}, 'Google user info', this.requestTimeoutMs, true);
|
|
75
|
+
(0, authn_sso_1.validateProviderUser)(data, ['email', 'name', 'picture', 'locale'], true);
|
|
76
|
+
if (!(0, authn_sso_1.isProviderString)(data['email'])) {
|
|
77
|
+
throw new Error('Malformed Google user response: missing email');
|
|
88
78
|
}
|
|
89
|
-
const userData =
|
|
79
|
+
const userData = data;
|
|
90
80
|
return {
|
|
91
81
|
id: userData.id,
|
|
92
82
|
login: userData.email || '',
|
|
@@ -100,8 +90,7 @@ class GoogleAuthentication extends authn_sso_1.SSOAuthentication {
|
|
|
100
90
|
* Exchange refresh token for new access token
|
|
101
91
|
*/
|
|
102
92
|
async exchangeRefreshToken(refreshToken) {
|
|
103
|
-
const
|
|
104
|
-
const response = await fetch(tokenUrl, {
|
|
93
|
+
const data = await (0, authn_sso_1.requestProviderJson)('https://oauth2.googleapis.com/token', {
|
|
105
94
|
method: 'POST',
|
|
106
95
|
headers: {
|
|
107
96
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
@@ -112,12 +101,8 @@ class GoogleAuthentication extends authn_sso_1.SSOAuthentication {
|
|
|
112
101
|
refresh_token: refreshToken,
|
|
113
102
|
grant_type: 'refresh_token',
|
|
114
103
|
}).toString(),
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
throw new Error(`Google token refresh failed: ${response.status}` +
|
|
118
|
-
` ${response.statusText}`);
|
|
119
|
-
}
|
|
120
|
-
return response.json();
|
|
104
|
+
}, 'Google token refresh', this.requestTimeoutMs);
|
|
105
|
+
return (0, authn_sso_1.validateTokenResponse)(data);
|
|
121
106
|
}
|
|
122
107
|
}
|
|
123
108
|
exports.GoogleAuthentication = GoogleAuthentication;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-google.js","sourceRoot":"","sources":["../../src/authentication-google.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"authentication-google.js","sourceRoot":"","sources":["../../src/authentication-google.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riao/authn-sso-google",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Google OAuth2/OIDC SSO authentication driver for riao-iam",
|
|
5
5
|
"typescript-template": {
|
|
6
6
|
"base": "1.0.1",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@riao/authn-sso": "^
|
|
13
|
-
"@riao/dbal": "^
|
|
14
|
-
"@riao/iam": "^
|
|
12
|
+
"@riao/authn-sso": "^4.0.0",
|
|
13
|
+
"@riao/dbal": "^4.0.0",
|
|
14
|
+
"@riao/iam": "^6.0.0"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|