@feasibleone/blong-login 1.6.4 → 1.6.6
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 +14 -0
- package/dist/orchestrator/login/loginOidcGetConfiguration.d.ts.map +1 -1
- package/dist/orchestrator/login/loginOidcGetConfiguration.js +8 -2
- package/dist/orchestrator/login/loginOidcGetConfiguration.js.map +1 -1
- package/dist/package.json +11 -11
- package/dist/test/test/testUserAdminLogin.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.6.6](https://github.com/feasibleone/blong/compare/blong-login-v1.6.5...blong-login-v1.6.6) (2026-03-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update jose dependency to version 6.2.1 and adjust related configurations ([111b597](https://github.com/feasibleone/blong/commit/111b597d48eec66f9d79358b21ffcfc386d64e55))
|
|
9
|
+
|
|
10
|
+
## [1.6.5](https://github.com/feasibleone/blong/compare/blong-login-v1.6.4...blong-login-v1.6.5) (2026-03-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* improve handling of x-forwarded headers in loginOidcGetConfiguration ([c7bb019](https://github.com/feasibleone/blong/commit/c7bb0196f660ab4fbc0db6ae4ff9d5199762470c))
|
|
16
|
+
|
|
3
17
|
## [1.6.4](https://github.com/feasibleone/blong/compare/blong-login-v1.6.3...blong-login-v1.6.4) (2026-03-03)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loginOidcGetConfiguration.d.ts","sourceRoot":"","sources":["../../../orchestrator/login/loginOidcGetConfiguration.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"loginOidcGetConfiguration.d.ts","sourceRoot":"","sources":["../../../orchestrator/login/loginOidcGetConfiguration.ts"],"names":[],"mappings":";AAEA,wBA8BE"}
|
|
@@ -3,9 +3,15 @@ export default handler(() => function loginOidcGetConfiguration(params, { httpRe
|
|
|
3
3
|
const url = new URL(urlRequest);
|
|
4
4
|
if (headers['x-forwarded-host']) {
|
|
5
5
|
url.port = ''; // WTF WHATWG!
|
|
6
|
-
url.host =
|
|
6
|
+
url.host =
|
|
7
|
+
typeof headers['x-forwarded-host'] === 'string'
|
|
8
|
+
? headers['x-forwarded-host']
|
|
9
|
+
: headers['x-forwarded-host'][0];
|
|
7
10
|
if (headers['x-forwarded-proto'])
|
|
8
|
-
url.protocol =
|
|
11
|
+
url.protocol =
|
|
12
|
+
typeof headers['x-forwarded-proto'] === 'string'
|
|
13
|
+
? headers['x-forwarded-proto']
|
|
14
|
+
: headers['x-forwarded-proto'][0];
|
|
9
15
|
}
|
|
10
16
|
return {
|
|
11
17
|
issuer: 'ut-login',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loginOidcGetConfiguration.js","sourceRoot":"","sources":["../../../orchestrator/login/loginOidcGetConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAEvD,eAAe,OAAO,CAClB,GAAG,EAAE,CACD,SAAS,yBAAyB,CAC9B,MAAe,EACf,EAAC,WAAW,EAAE,EAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAC,GAAG,EAAC,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAC,EAAQ;IAEzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC;IAChC,IAAI,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;QAC9B,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,cAAc;QAC7B,GAAG,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"loginOidcGetConfiguration.js","sourceRoot":"","sources":["../../../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AE,IAAI,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI;KAC9C,CAAC;AACN,CAAC,CACR,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feasibleone/blong-login",
|
|
3
|
+
"version": "1.6.6",
|
|
3
4
|
"description": "Login and authentication utilities for the Blong framework",
|
|
4
5
|
"keywords": [
|
|
5
6
|
"blong",
|
|
@@ -9,10 +10,7 @@
|
|
|
9
10
|
"repository": {
|
|
10
11
|
"url": "git+https://github.com/feasibleone/blong.git"
|
|
11
12
|
},
|
|
12
|
-
"
|
|
13
|
-
"build": "heft build --clean",
|
|
14
|
-
"ci-publish": "node ../../common/scripts/install-run-rush-pnpm.js publish --access public --provenance"
|
|
15
|
-
},
|
|
13
|
+
"type": "module",
|
|
16
14
|
"exports": {
|
|
17
15
|
"./server.js": "./dist/server.js",
|
|
18
16
|
"./server.d.ts": "./dist/server.d.ts",
|
|
@@ -23,15 +21,14 @@
|
|
|
23
21
|
"./dist/package.json": "./package.json",
|
|
24
22
|
"./package.json": "./package.json"
|
|
25
23
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "heft build --clean",
|
|
26
|
+
"ci-publish": "node ../../common/scripts/install-run-rush-pnpm.js publish --access public --provenance"
|
|
27
|
+
},
|
|
28
28
|
"dependencies": {
|
|
29
|
+
"jose": "^6.2.1",
|
|
29
30
|
"typebox": "^1.1.5",
|
|
30
|
-
"ut-function.cbc": "^1.1.6"
|
|
31
|
-
"jose": "^5.7.0"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"@feasibleone/blong": "^1.0.0"
|
|
31
|
+
"ut-function.cbc": "^1.1.6"
|
|
35
32
|
},
|
|
36
33
|
"devDependencies": {
|
|
37
34
|
"@feasibleone/blong": "workspace:^1.0.0",
|
|
@@ -42,5 +39,8 @@
|
|
|
42
39
|
"@types/ut-function.cbc": "file:./types/ut-function.cbc",
|
|
43
40
|
"eslint": "~9.39.2",
|
|
44
41
|
"typescript": "^5.9.3"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@feasibleone/blong": "^1.0.0"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testUserAdminLogin.js","sourceRoot":"","sources":["../../../test/test/testUserAdminLogin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,eAAe,OAAO,CAAC,CAAC,EAAC,GAAG,EAAE,EAAC,KAAK,EAAC,EAAC,EAAE,EAAE,CAAC,CAAC;IACxC,kBAAkB,EAAE,CAAC,EAAC,IAAI,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"testUserAdminLogin.js","sourceRoot":"","sources":["../../../test/test/testUserAdminLogin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,eAAe,OAAO,CAAC,CAAC,EAAC,GAAG,EAAE,EAAC,KAAK,EAAC,EAAC,EAAE,EAAE,CAAC,CAAC;IACxC,kBAAkB,EAAE,CAAC,EAAC,IAAI,GAAG,OAAO,EAAiB,EAAE,EAAE,CACrD,KAAK,CAAC,IAAI,CAAC,CAAC;QACR,SAAS,WAAW;YAChB,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC;QAC7C,CAAC;QACD,SAAS,UAAU;YACf,OAAO,EAAC,WAAW,EAAE,KAAK,EAAC,CAAC;QAChC,CAAC;KACJ,CAAC;CACT,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feasibleone/blong-login",
|
|
3
|
+
"version": "1.6.6",
|
|
3
4
|
"description": "Login and authentication utilities for the Blong framework",
|
|
4
5
|
"keywords": [
|
|
5
6
|
"blong",
|
|
@@ -9,6 +10,7 @@
|
|
|
9
10
|
"repository": {
|
|
10
11
|
"url": "git+https://github.com/feasibleone/blong.git"
|
|
11
12
|
},
|
|
13
|
+
"type": "module",
|
|
12
14
|
"exports": {
|
|
13
15
|
"./server.js": "./dist/server.js",
|
|
14
16
|
"./server.d.ts": "./dist/server.d.ts",
|
|
@@ -19,15 +21,10 @@
|
|
|
19
21
|
"./dist/package.json": "./package.json",
|
|
20
22
|
"./package.json": "./package.json"
|
|
21
23
|
},
|
|
22
|
-
"type": "module",
|
|
23
|
-
"version": "1.6.4",
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"jose": "^6.2.1",
|
|
25
26
|
"typebox": "^1.1.5",
|
|
26
|
-
"ut-function.cbc": "^1.1.6"
|
|
27
|
-
"jose": "^5.7.0"
|
|
28
|
-
},
|
|
29
|
-
"peerDependencies": {
|
|
30
|
-
"@feasibleone/blong": "^1.0.0"
|
|
27
|
+
"ut-function.cbc": "^1.1.6"
|
|
31
28
|
},
|
|
32
29
|
"devDependencies": {
|
|
33
30
|
"@feasibleone/blong": "^1.0.0",
|
|
@@ -39,6 +36,9 @@
|
|
|
39
36
|
"eslint": "~9.39.2",
|
|
40
37
|
"typescript": "^5.9.3"
|
|
41
38
|
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@feasibleone/blong": "^1.0.0"
|
|
41
|
+
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "heft build --clean",
|
|
44
44
|
"ci-publish": "node ../../common/scripts/install-run-rush-pnpm.js publish --access public --provenance"
|