@semapps/auth 1.0.8 → 1.0.9
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/mixins/auth.js +1 -1
- package/package.json +6 -6
package/mixins/auth.js
CHANGED
@@ -162,7 +162,7 @@ const AuthMixin = {
|
|
162
162
|
const baseUrlTrailing = urlJoin(this.settings.baseUrl, '/');
|
163
163
|
webId = webId || baseUrlTrailing + username;
|
164
164
|
|
165
|
-
const podUrl = await ctx.call('
|
165
|
+
const podUrl = await ctx.call('solid-storage.getUrl', { webId });
|
166
166
|
|
167
167
|
// Check if capabilityUri is within the resource owner's pod
|
168
168
|
if (!webId?.startsWith(baseUrlTrailing) || !capabilityUri?.startsWith(podUrl)) {
|
package/package.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@semapps/auth",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.9",
|
4
4
|
"description": "Authentification module for SemApps",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "Virtual Assembly",
|
7
7
|
"dependencies": {
|
8
|
-
"@semapps/ldp": "1.0.
|
9
|
-
"@semapps/middlewares": "1.0.
|
10
|
-
"@semapps/mime-types": "1.0.
|
11
|
-
"@semapps/triplestore": "1.0.
|
8
|
+
"@semapps/ldp": "1.0.9",
|
9
|
+
"@semapps/middlewares": "1.0.9",
|
10
|
+
"@semapps/mime-types": "1.0.9",
|
11
|
+
"@semapps/triplestore": "1.0.9",
|
12
12
|
"bcrypt": "^5.0.1",
|
13
13
|
"express-session": "^1.17.0",
|
14
14
|
"jsonwebtoken": "^8.5.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"engines": {
|
30
30
|
"node": ">=14"
|
31
31
|
},
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "9cba5eb8a5d7283015e642c002b4a94a059332e8"
|
33
33
|
}
|