solid-server 5.8.8-a4d2fc6d → 5.8.8-aa5971f5
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/common/js/index-buttons.mjs +3 -2
- package/config/templates/server/index.html +1 -1
- package/coverage/tmp/coverage-2253-1767788604477-0.json +1 -0
- package/coverage/tmp/{coverage-2271-1767346114541-0.json → coverage-2254-1767788582829-0.json} +1 -1
- package/default-templates/server/index.html +1 -1
- package/eslint.config.mjs +2 -2
- package/lib/acl-checker.mjs +1 -2
- package/lib/handlers/cors-proxy.mjs +2 -2
- package/lib/handlers/get.mjs +10 -6
- package/lib/ldp.mjs +0 -1
- package/lib/models/account-manager.mjs +2 -2
- package/lib/webid/lib/get.mjs +0 -1
- package/package.json +20 -21
- package/solid-server-5.8.8.tgz +0 -0
- package/test/index.mjs +0 -1
- package/test/integration/account-manager-test.mjs +2 -2
- package/test/integration/acl-oidc-test.mjs +0 -1
- package/test/integration/authentication-oidc-test.mjs +12 -7
- package/test/integration/authentication-oidc-with-strict-origins-turned-off-test.mjs +14 -9
- package/test/integration/params-test.mjs +5 -5
- package/test/resources/accounts/db/oidc/op/clients/{_key_e989e9f58cf29869c56a68ceb4256b69.json → _key_d76c5ec075d1b3e130a93bf247b05f54.json} +1 -1
- package/test/resources/accounts/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A3457.json +1 -1
- package/test/resources/accounts-scenario/alice/db/oidc/op/clients/{_key_a31de046443144df66179553447ffed2.json → _key_3c318e68342b7462e295cee3a612cd2a.json} +1 -1
- package/test/resources/accounts-scenario/alice/db/oidc/op/provider.json +538 -313
- package/test/resources/accounts-scenario/alice/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7000.json +1 -1
- package/test/resources/accounts-scenario/bob/db/oidc/op/clients/{_key_cf92a9f132c1973db4163b653050ac5f.json → _key_95382781901361455f193f2b09fb9f46.json} +1 -1
- package/test/resources/accounts-scenario/bob/db/oidc/op/provider.json +538 -313
- package/test/resources/accounts-scenario/bob/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7001.json +1 -1
- package/test/resources/accounts-scenario/charlie/db/oidc/op/clients/{_key_25fe3c0bf640a75aecd0ccb1c2951eb1.json → _key_10c632398f20554089610cc169f07ef0.json} +1 -1
- package/test/resources/accounts-scenario/charlie/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A5002.json +1 -1
- package/test/resources/accounts-strict-origin-off/alice/db/oidc/op/clients/{_key_1a5ed3aa47de01ee7438f2537e1b5331.json → _key_d3f579e3e56ee4b3cc35ec8c0022368d.json} +1 -1
- package/test/resources/accounts-strict-origin-off/alice/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7010.json +1 -1
- package/test/resources/accounts-strict-origin-off/bob/db/oidc/op/clients/{_key_30b67c31ec6753bde889bbb157e879c5.json → _key_801a614f474ed46925df9e107dc94862.json} +1 -1
- package/test/resources/accounts-strict-origin-off/bob/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7011.json +1 -1
- package/test/resources/config/templates/server/index.html +1 -1
- package/test/unit/account-manager-test.mjs +2 -2
- package/test/unit/email-welcome-test.mjs +1 -1
- package/test/unit/utils-test.mjs +1 -3
- package/test/utils/index.mjs +0 -1
- package/test/utils.mjs +3 -4
- package/common/js/auth-buttons.js +0 -67
- package/common/js/index-buttons.js +0 -44
- package/config/defaults.js +0 -25
- package/config/templates/emails/delete-account.js +0 -49
- package/config/templates/emails/invalid-username.js +0 -30
- package/config/templates/emails/reset-password.js +0 -49
- package/config/templates/emails/welcome.js +0 -39
- package/coverage/tmp/coverage-2270-1767346136095-0.json +0 -1
- package/default-templates/emails/delete-account.js +0 -49
- package/default-templates/emails/invalid-username.js +0 -30
- package/default-templates/emails/reset-password.js +0 -49
- package/default-templates/emails/welcome.js +0 -39
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// ESM version of index-buttons.js
|
|
2
|
+
/* global SolidLogic */
|
|
2
3
|
'use strict'
|
|
3
4
|
const keyname = 'SolidServerRootRedirectLink'
|
|
4
5
|
/* function register () {
|
|
@@ -6,8 +7,8 @@ const keyname = 'SolidServerRootRedirectLink'
|
|
|
6
7
|
window.location.href = '/register'
|
|
7
8
|
} */
|
|
8
9
|
document.addEventListener('DOMContentLoaded', async function () {
|
|
9
|
-
const authn =
|
|
10
|
-
const authSession =
|
|
10
|
+
const authn = SolidLogic.authn
|
|
11
|
+
const authSession = SolidLogic.authSession
|
|
11
12
|
|
|
12
13
|
if (!authn.currentUser()) await authn.checkUser()
|
|
13
14
|
const user = authn.currentUser()
|