@lightdash/common 1.202.10 → 1.203.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/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/utils/oauth.d.ts +3 -0
- package/dist/cjs/utils/oauth.d.ts.map +1 -1
- package/dist/cjs/utils/oauth.js +148 -4
- package/dist/cjs/utils/oauth.js.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/utils/oauth.d.ts +3 -0
- package/dist/esm/utils/oauth.d.ts.map +1 -1
- package/dist/esm/utils/oauth.js +148 -4
- package/dist/esm/utils/oauth.js.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/utils/oauth.d.ts +3 -0
- package/dist/types/utils/oauth.d.ts.map +1 -1
- package/dist/types/utils/oauth.js +148 -4
- package/dist/types/utils/oauth.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export interface OAuthHiddenInput {
|
|
|
13
13
|
export interface OAuthUser {
|
|
14
14
|
firstName: string;
|
|
15
15
|
lastName: string;
|
|
16
|
+
email: string | null;
|
|
16
17
|
organizationName: string;
|
|
17
18
|
}
|
|
18
19
|
export interface OAuthScopeDescription {
|
|
@@ -26,6 +27,8 @@ export interface OAuthAuthorizeParams {
|
|
|
26
27
|
scope: string;
|
|
27
28
|
scopes: OAuthScopeDescription[];
|
|
28
29
|
user: OAuthUser;
|
|
30
|
+
/** Where "Switch account" sends the user after logging out */
|
|
31
|
+
loginUrl: string;
|
|
29
32
|
hiddenInputs: OAuthHiddenInput[];
|
|
30
33
|
}
|
|
31
34
|
export interface OAuthRedirectParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../src/utils/oauth.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,i7CA2D3B,CAAC;
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources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,WAC1B,mBAAmB,SACpB,MAAM,YACH,MAAM,EAAE,aACR,aAAa,KACxB,MAQG,CAAC;AAEP;;GAEG;AACH,eAAO,MAAM,4BAA4B,WAC9B,MAAM,aACH,MAAM,EAAE,KAInB,MAA0E,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAC5B,MAAM,YACH,MAAM,EAAE,aACR,aAAa,KACxB,MAME,CAAC;AAQN;;;GAGG;AACH,eAAO,MAAM,0BAA0B,WAC3B,oBAAoB,KAC7B,MASG,CAAC;AAEP;;;GAGG;AACH,eAAO,MAAM,yBAAyB,WAC1B,mBAAmB,KAC5B,MAKG,CAAC"}
|
package/dist/cjs/utils/oauth.js
CHANGED
|
@@ -114,24 +114,116 @@ const OAUTH_AUTHORIZE_TEMPLATE = `
|
|
|
114
114
|
}
|
|
115
115
|
.oauth-message {
|
|
116
116
|
text-align: center;
|
|
117
|
-
margin-bottom:
|
|
117
|
+
margin-bottom: 16px;
|
|
118
118
|
font-size: 14px;
|
|
119
119
|
color: #111418;
|
|
120
120
|
}
|
|
121
121
|
.oauth-message strong {
|
|
122
122
|
font-weight: 600;
|
|
123
123
|
}
|
|
124
|
-
.oauth-
|
|
124
|
+
.oauth-account {
|
|
125
|
+
border: 1px solid #e9ecef;
|
|
126
|
+
border-radius: 8px;
|
|
127
|
+
overflow: hidden;
|
|
128
|
+
margin-bottom: 20px;
|
|
129
|
+
}
|
|
130
|
+
.oauth-account-user {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: 12px;
|
|
134
|
+
padding: 12px 14px;
|
|
135
|
+
}
|
|
136
|
+
.oauth-avatar {
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
width: 36px;
|
|
139
|
+
height: 36px;
|
|
140
|
+
border-radius: 50%;
|
|
141
|
+
background: #111418;
|
|
142
|
+
color: #f8fafc;
|
|
143
|
+
font-size: 13px;
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
letter-spacing: 0.02em;
|
|
146
|
+
display: flex;
|
|
147
|
+
align-items: center;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
text-transform: uppercase;
|
|
150
|
+
}
|
|
151
|
+
.oauth-account-id {
|
|
152
|
+
flex: 1;
|
|
153
|
+
min-width: 0;
|
|
154
|
+
}
|
|
155
|
+
.oauth-account-name {
|
|
156
|
+
font-weight: 600;
|
|
157
|
+
color: #111418;
|
|
158
|
+
overflow: hidden;
|
|
159
|
+
text-overflow: ellipsis;
|
|
160
|
+
white-space: nowrap;
|
|
161
|
+
}
|
|
162
|
+
.oauth-account-email {
|
|
163
|
+
font-size: 12px;
|
|
164
|
+
color: #6c757d;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
}
|
|
169
|
+
.oauth-switch-link {
|
|
170
|
+
flex-shrink: 0;
|
|
171
|
+
font-size: 12px;
|
|
172
|
+
font-weight: 500;
|
|
173
|
+
color: #6c757d;
|
|
174
|
+
text-decoration: none;
|
|
175
|
+
}
|
|
176
|
+
.oauth-switch-link:hover {
|
|
177
|
+
color: #111418;
|
|
178
|
+
text-decoration: underline;
|
|
179
|
+
}
|
|
180
|
+
.oauth-account-org {
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
gap: 8px;
|
|
184
|
+
padding: 8px 14px;
|
|
125
185
|
border-top: 1px solid #e9ecef;
|
|
126
|
-
|
|
186
|
+
background: #f8fafc;
|
|
187
|
+
}
|
|
188
|
+
.oauth-org-icon {
|
|
189
|
+
flex-shrink: 0;
|
|
190
|
+
width: 15px;
|
|
191
|
+
height: 15px;
|
|
192
|
+
color: #6c757d;
|
|
193
|
+
}
|
|
194
|
+
.oauth-account-org-name {
|
|
195
|
+
flex: 1;
|
|
196
|
+
min-width: 0;
|
|
197
|
+
font-size: 13px;
|
|
198
|
+
font-weight: 500;
|
|
199
|
+
color: #111418;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
text-overflow: ellipsis;
|
|
202
|
+
white-space: nowrap;
|
|
203
|
+
}
|
|
204
|
+
.oauth-account-org-label {
|
|
205
|
+
flex-shrink: 0;
|
|
206
|
+
font-size: 11px;
|
|
207
|
+
color: #6c757d;
|
|
208
|
+
}
|
|
209
|
+
.oauth-scopes {
|
|
127
210
|
margin-bottom: 16px;
|
|
128
211
|
}
|
|
212
|
+
.oauth-scopes-title {
|
|
213
|
+
font-size: 13px;
|
|
214
|
+
font-weight: 600;
|
|
215
|
+
color: #111418;
|
|
216
|
+
margin: 0 0 4px 0;
|
|
217
|
+
}
|
|
129
218
|
.oauth-scope-item {
|
|
130
219
|
display: flex;
|
|
131
220
|
gap: 12px;
|
|
132
221
|
padding: 12px 0;
|
|
133
222
|
border-bottom: 1px solid #f8fafc;
|
|
134
223
|
}
|
|
224
|
+
.oauth-scope-item:last-child {
|
|
225
|
+
border-bottom: none;
|
|
226
|
+
}
|
|
135
227
|
.oauth-scope-icon {
|
|
136
228
|
flex-shrink: 0;
|
|
137
229
|
width: 16px;
|
|
@@ -152,7 +244,9 @@ const OAUTH_AUTHORIZE_TEMPLATE = `
|
|
|
152
244
|
line-height: 1.4;
|
|
153
245
|
}
|
|
154
246
|
.oauth-btn-row {
|
|
247
|
+
/* row-reverse keeps Authorize as the first submit button (Enter approves) while showing Cancel on the left */
|
|
155
248
|
display: flex;
|
|
249
|
+
flex-direction: row-reverse;
|
|
156
250
|
justify-content: center;
|
|
157
251
|
gap: 12px;
|
|
158
252
|
margin-top: 24px;
|
|
@@ -197,10 +291,35 @@ const OAUTH_AUTHORIZE_TEMPLATE = `
|
|
|
197
291
|
</div>
|
|
198
292
|
|
|
199
293
|
<p class="oauth-message">
|
|
200
|
-
<strong>{{client_name}}</strong> wants to access your Lightdash account
|
|
294
|
+
<strong>{{client_name}}</strong> wants to access your Lightdash account
|
|
201
295
|
</p>
|
|
202
296
|
|
|
297
|
+
<div class="oauth-account">
|
|
298
|
+
<div class="oauth-account-user">
|
|
299
|
+
<div class="oauth-avatar" aria-hidden="true">{{user.initials}}</div>
|
|
300
|
+
<div class="oauth-account-id">
|
|
301
|
+
<div class="oauth-account-name">{{user.firstName}} {{user.lastName}}</div>
|
|
302
|
+
{{#if user.email}}
|
|
303
|
+
<div class="oauth-account-email">{{user.email}}</div>
|
|
304
|
+
{{/if}}
|
|
305
|
+
</div>
|
|
306
|
+
<a class="oauth-switch-link" id="oauth-switch-account" href="{{loginUrl}}">Switch account</a>
|
|
307
|
+
</div>
|
|
308
|
+
{{#if user.organizationName}}
|
|
309
|
+
<div class="oauth-account-org">
|
|
310
|
+
<svg class="oauth-org-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
311
|
+
<path d="M3 21h18" />
|
|
312
|
+
<path d="M9 8h1M9 12h1M9 16h1M14 8h1M14 12h1M14 16h1" />
|
|
313
|
+
<path d="M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16" />
|
|
314
|
+
</svg>
|
|
315
|
+
<span class="oauth-account-org-name">{{user.organizationName}}</span>
|
|
316
|
+
<span class="oauth-account-org-label">Organization</span>
|
|
317
|
+
</div>
|
|
318
|
+
{{/if}}
|
|
319
|
+
</div>
|
|
320
|
+
|
|
203
321
|
<div class="oauth-scopes">
|
|
322
|
+
<p class="oauth-scopes-title">{{client_name}} will be able to:</p>
|
|
204
323
|
{{#each scopes}}
|
|
205
324
|
<div class="oauth-scope-item">
|
|
206
325
|
<svg class="oauth-scope-icon" viewBox="0 0 16 16" fill="currentColor">
|
|
@@ -225,6 +344,23 @@ const OAUTH_AUTHORIZE_TEMPLATE = `
|
|
|
225
344
|
</div>
|
|
226
345
|
</form>
|
|
227
346
|
</div>
|
|
347
|
+
<script>
|
|
348
|
+
(function () {
|
|
349
|
+
var switchLink = document.getElementById('oauth-switch-account');
|
|
350
|
+
switchLink.addEventListener('click', function (event) {
|
|
351
|
+
event.preventDefault();
|
|
352
|
+
var loginUrl = switchLink.href;
|
|
353
|
+
// Log out first so the login page doesn't bounce straight back with the same session
|
|
354
|
+
fetch('/api/v1/logout', { credentials: 'same-origin' })
|
|
355
|
+
.catch(function () {
|
|
356
|
+
// Navigate anyway; the login page still lets the user switch accounts
|
|
357
|
+
})
|
|
358
|
+
.then(function () {
|
|
359
|
+
window.location.href = loginUrl;
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
})();
|
|
363
|
+
</script>
|
|
228
364
|
</body>
|
|
229
365
|
</html>
|
|
230
366
|
`;
|
|
@@ -354,6 +490,10 @@ exports.generateOAuthSuccessResponse = generateOAuthSuccessResponse;
|
|
|
354
490
|
*/
|
|
355
491
|
const generateOAuthErrorResponse = (title, messages, iconType = 'error') => (0, exports.generateOAuthResponseHtml)('error', title, [...messages, 'You can close this window and try again.'], iconType);
|
|
356
492
|
exports.generateOAuthErrorResponse = generateOAuthErrorResponse;
|
|
493
|
+
const getUserInitials = (user) => {
|
|
494
|
+
const initials = `${user.firstName.charAt(0)}${user.lastName.charAt(0)}`.trim();
|
|
495
|
+
return initials || user.email?.charAt(0) || '?';
|
|
496
|
+
};
|
|
357
497
|
/**
|
|
358
498
|
* Generates an OAuth authorization page HTML using Handlebars templating
|
|
359
499
|
* This prevents XSS issues by auto-escaping all user content
|
|
@@ -362,6 +502,10 @@ const generateOAuthAuthorizePage = (params) => compiledAuthorizeTemplate({
|
|
|
362
502
|
styles: exports.oauthPageStyles,
|
|
363
503
|
logo: LIGHTDASH_LOGO_SVG,
|
|
364
504
|
...params,
|
|
505
|
+
user: {
|
|
506
|
+
...params.user,
|
|
507
|
+
initials: getUserInitials(params.user),
|
|
508
|
+
},
|
|
365
509
|
});
|
|
366
510
|
exports.generateOAuthAuthorizePage = generateOAuthAuthorizePage;
|
|
367
511
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.js","sourceRoot":"","sources":["../../../src/utils/oauth.ts"],"names":[],"mappings":";;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