diff --git a/lib/acl-checker.js b/lib/acl-checker.js
index 53c41f86d..44c0ae883 100644
--- a/lib/acl-checker.js
+++ b/lib/acl-checker.js
@@ -16,11 +16,10 @@ class ACLChecker {
constructor (resource, options = {}) {
this.resource = resource
this.resourceUrl = new URL(resource)
- this.agentOrigin = options.agentOrigin
+ this.agentOrigin = options.strictOrigin && options.agentOrigin ? rdf.sym(options.agentOrigin) : null
this.fetch = options.fetch
this.fetchGraph = options.fetchGraph
- this.strictOrigin = options.strictOrigin
- this.trustedOrigins = options.trustedOrigins
+ this.trustedOrigins = options.strictOrigin && options.trustedOrigins ? options.trustedOrigins.map(trustedOrigin => rdf.sym(trustedOrigin)) : null
this.suffix = options.suffix || DEFAULT_ACL_SUFFIX
this.aclCached = {}
this.messagesCached = {}
@@ -56,17 +55,14 @@ class ACLChecker {
const aclFile = rdf.sym(acl.acl)
const agent = user ? rdf.sym(user) : null
const modes = [ACL(mode)]
- const agentOrigin = this.agentOrigin ? rdf.sym(this.agentOrigin) : null
- const trustedOrigins = this.trustedOrigins ? this.trustedOrigins.map(trustedOrigin => rdf.sym(trustedOrigin)) : null
+ const agentOrigin = this.agentOrigin
+ const trustedOrigins = this.trustedOrigins
const accessDenied = aclCheck.accessDenied(acl.graph, resource, directory, aclFile, agent, modes, agentOrigin, trustedOrigins)
- if (accessDenied && this.agentOrigin && this.resourceUrl.origin !== this.agentOrigin) {
- this.messagesCached[cacheKey].push(HTTPError(403, accessDenied))
- } else if (accessDenied && user) {
+
+ if (accessDenied && user) {
this.messagesCached[cacheKey].push(HTTPError(403, accessDenied))
- } else if (accessDenied && !user) {
- this.messagesCached[cacheKey].push(HTTPError(401, 'Unauthenticated'))
} else if (accessDenied) {
- this.messagesCached[cacheKey].push(HTTPError(401, accessDenied))
+ this.messagesCached[cacheKey].push(HTTPError(401, 'Unauthenticated'))
}
this.aclCached[cacheKey] = Promise.resolve(!accessDenied)
return this.aclCached[cacheKey]
diff --git a/lib/create-app.js b/lib/create-app.js
index 12f33ce0a..88c2c251e 100644
--- a/lib/create-app.js
+++ b/lib/create-app.js
@@ -212,14 +212,27 @@ function initWebId (argv, app, ldp) {
// without permission by including the credentials set by the Solid server.
app.use((req, res, next) => {
const origin = req.get('origin')
- const trustedOrigins = argv.trustedOrigins
+ const trustedOrigins = ldp.getTrustedOrigins(req)
const userId = req.session.userId
// Exception: allow logout requests from all third-party apps
// such that OIDC client can log out via cookie auth
// TODO: remove this exception when OIDC clients
// use Bearer token to authenticate instead of cookie
// (https://github.com/solid/node-solid-server/pull/835#issuecomment-426429003)
- if (!argv.host.allowsSessionFor(userId, origin, trustedOrigins) && !isLogoutRequest(req)) {
+ //
+ // Authentication cookies are an optimization:
+ // instead of going through the process of
+ // fully validating authentication on every request,
+ // we go through this process once,
+ // and store its successful result in a cookie
+ // that will be reused upon the next request.
+ // However, that cookie can then be sent by any server,
+ // even servers that have not gone through the proper authentication mechanism.
+ // However, if trusted origins are enabled,
+ // then any origin is allowed to take the shortcut route,
+ // since malicious origins will be banned at the ACL checking phase.
+ // https://github.com/solid/node-solid-server/issues/1117
+ if (!argv.strictOrigin && !argv.host.allowsSessionFor(userId, origin, trustedOrigins) && !isLogoutRequest(req)) {
debug.authentication(`Rejecting session for ${userId} from ${origin}`)
// Destroy session data
delete req.session.userId
diff --git a/package-lock.json b/package-lock.json
index 353ff8f08..433505a8c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "solid-server",
- "version": "5.0.0-beta.9",
+ "version": "5.0.0-beta.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -230,7 +230,7 @@
"dependencies": {
"rdflib": {
"version": "0.12.3",
- "resolved": "http://registry.npmjs.org/rdflib/-/rdflib-0.12.3.tgz",
+ "resolved": "https://registry.npmjs.org/rdflib/-/rdflib-0.12.3.tgz",
"integrity": "sha1-K0IGamYJwGtAqQSFhJNix8uV6h4=",
"requires": {
"async": "^0.9.x",
@@ -904,42 +904,42 @@
},
"babel-plugin-syntax-async-functions": {
"version": "6.13.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
"integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU="
},
"babel-plugin-syntax-class-properties": {
"version": "6.13.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz",
"integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94="
},
"babel-plugin-syntax-exponentiation-operator": {
"version": "6.13.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
"integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4="
},
"babel-plugin-syntax-export-extensions": {
"version": "6.13.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz",
"integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE="
},
"babel-plugin-syntax-flow": {
"version": "6.18.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz",
"integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0="
},
"babel-plugin-syntax-function-bind": {
"version": "6.13.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz",
"integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y="
},
"babel-plugin-syntax-jsx": {
"version": "6.18.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",
"integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY="
},
"babel-plugin-syntax-object-rest-spread": {
"version": "6.13.0",
- "resolved": "http://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz",
+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz",
"integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U="
},
"babel-plugin-syntax-trailing-function-commas": {
@@ -1762,7 +1762,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -1786,7 +1786,7 @@
},
"browserify-aes": {
"version": "1.2.0",
- "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
+ "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
"requires": {
"buffer-xor": "^1.0.3",
@@ -2228,7 +2228,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -2379,7 +2379,7 @@
},
"create-hash": {
"version": "1.2.0",
- "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
+ "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
"requires": {
"cipher-base": "^1.0.1",
@@ -2391,7 +2391,7 @@
},
"create-hmac": {
"version": "1.1.7",
- "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
+ "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
"requires": {
"cipher-base": "^1.0.3",
@@ -2695,7 +2695,7 @@
"dependencies": {
"minimist": {
"version": "1.2.0",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
}
}
@@ -2717,7 +2717,7 @@
},
"diffie-hellman": {
"version": "5.0.3",
- "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
+ "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
"integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
"requires": {
"bn.js": "^4.1.0",
@@ -2825,7 +2825,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -3699,7 +3699,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -3827,7 +3827,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"dev": true,
"requires": {
@@ -4122,7 +4122,7 @@
},
"http-errors": {
"version": "1.6.3",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
+ "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
"integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
"requires": {
"depd": "~1.1.2",
@@ -4529,7 +4529,7 @@
},
"is-obj": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
+ "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
"dev": true
},
@@ -4705,7 +4705,7 @@
},
"jsesc": {
"version": "0.5.0",
- "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
"integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0="
},
"json-schema": {
@@ -5256,7 +5256,7 @@
"dependencies": {
"commander": {
"version": "2.15.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
+ "resolved": "http://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
"integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==",
"dev": true
},
@@ -5323,7 +5323,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -6736,7 +6736,7 @@
},
"os-locale": {
"version": "1.4.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
+ "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
"dev": true,
"requires": {
@@ -6859,7 +6859,7 @@
},
"parse-asn1": {
"version": "5.1.1",
- "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz",
+ "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz",
"integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==",
"requires": {
"asn1.js": "^4.0.0",
@@ -7096,7 +7096,7 @@
},
"proxy-agent": {
"version": "2.3.1",
- "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-2.3.1.tgz",
+ "resolved": "http://registry.npmjs.org/proxy-agent/-/proxy-agent-2.3.1.tgz",
"integrity": "sha512-CNKuhC1jVtm8KJYFTS2ZRO71VCBx3QSA92So/e6NrY6GoJonkx3Irnk4047EsCcswczwqAekRj3s8qLRGahSKg==",
"dev": true,
"requires": {
@@ -7295,7 +7295,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -7704,7 +7704,7 @@
},
"sha.js": {
"version": "2.4.11",
- "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
+ "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
"requires": {
"inherits": "^2.0.1",
@@ -8824,7 +8824,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -8862,7 +8862,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -8903,7 +8903,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -8941,7 +8941,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -9065,7 +9065,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"dev": true,
"requires": {
@@ -9282,7 +9282,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
@@ -9941,7 +9941,7 @@
},
"wrap-ansi": {
"version": "2.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
+ "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
"dev": true,
"requires": {
diff --git a/package.json b/package.json
index 47ff05898..80f18a868 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "solid-server",
"description": "Solid server on top of the file-system",
- "version": "5.0.0-beta.9",
+ "version": "5.0.0-beta.8",
"author": {
"name": "Tim Berners-Lee",
"email": "timbl@w3.org"
diff --git a/test/integration/acl-tls-test.js b/test/integration/acl-tls-test.js
index 9d321b10d..c2103f669 100644
--- a/test/integration/acl-tls-test.js
+++ b/test/integration/acl-tls-test.js
@@ -332,7 +332,7 @@ describe('ACL with WebID+TLS', function () {
request.head(options, function (error, response, body) {
assert.equal(error, null)
- assert.equal(response.statusCode, 403)
+ assert.equal(response.statusCode, 401)
done()
})
})
@@ -354,7 +354,7 @@ describe('ACL with WebID+TLS', function () {
request.head(options, function (error, response, body) {
assert.equal(error, null)
- assert.equal(response.statusCode, 403)
+ assert.equal(response.statusCode, 401)
done()
})
})
@@ -433,7 +433,7 @@ describe('ACL with WebID+TLS', function () {
request.head(options, function (error, response, body) {
assert.equal(error, null)
- assert.equal(response.statusCode, 403)
+ assert.equal(response.statusCode, 401)
done()
})
})
@@ -455,7 +455,7 @@ describe('ACL with WebID+TLS', function () {
request.head(options, function (error, response, body) {
assert.equal(error, null)
- assert.equal(response.statusCode, 403)
+ assert.equal(response.statusCode, 401)
done()
})
})
diff --git a/test/integration/authentication-oidc-test.js b/test/integration/authentication-oidc-test.js
index bfa4a315b..53827f5f7 100644
--- a/test/integration/authentication-oidc-test.js
+++ b/test/integration/authentication-oidc-test.js
@@ -179,6 +179,39 @@ describe('Authentication API (OIDC)', () => {
})
})
+ describe('with that cookie and a non-matching origin', () => {
+ let response
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', cookie)
+ .set('Origin', bobServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 403', () => {
+ expect(response).to.have.property('status', 403)
+ })
+ })
+
+ describe('without that cookie and a non-matching origin', () => {
+ let response
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Origin', bobServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => {
+ expect(response).to.have.property('status', 401)
+ })
+ })
+
describe('with that cookie but without origin', () => {
let response
before(done => {
@@ -195,6 +228,19 @@ describe('Authentication API (OIDC)', () => {
})
})
+ describe('with that cookie, private resource and no origin set', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', cookie)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 200', () => expect(response).to.have.property('status', 200))
+ })
+
// How Mallory might set their cookie:
describe('with malicious cookie but without origin', () => {
let response
@@ -296,8 +342,8 @@ describe('Authentication API (OIDC)', () => {
})
})
- it('should return a 403', () => {
- expect(response).to.have.property('status', 403) // TODO: Should be 401?
+ it('should return a 401', () => {
+ expect(response).to.have.property('status', 401)
})
})
@@ -315,8 +361,8 @@ describe('Authentication API (OIDC)', () => {
})
})
- it('should return a 403', () => {
- expect(response).to.have.property('status', 403)
+ it('should return a 401', () => {
+ expect(response).to.have.property('status', 401)
})
})
@@ -333,8 +379,8 @@ describe('Authentication API (OIDC)', () => {
})
})
- it('should return a 403', () => {
- expect(response).to.have.property('status', 403)
+ it('should return a 401', () => {
+ expect(response).to.have.property('status', 401)
})
})
@@ -356,7 +402,24 @@ describe('Authentication API (OIDC)', () => {
})
})
- // Authenticated but origin not OK
+ describe('with malicious cookie and our origin', () => {
+ let response
+ before(done => {
+ var malcookie = cookie.replace(/connect\.sid=(\S+)/, 'connect.sid=l33th4x0rzp0wn4g3;')
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', malcookie)
+ .set('Origin', aliceServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => {
+ expect(response).to.have.property('status', 401)
+ })
+ })
+
describe('with malicious cookie and a non-matching origin', () => {
let response
before(done => {
@@ -370,8 +433,8 @@ describe('Authentication API (OIDC)', () => {
})
})
- it('should return a 403', () => {
- expect(response).to.have.property('status', 403)
+ it('should return a 401', () => {
+ expect(response).to.have.property('status', 401)
})
})
})
@@ -540,7 +603,7 @@ describe('Authentication API (OIDC)', () => {
// Step 6: Web App extracts tokens from the uri hash fragment, uses
// them to access protected resource
- it('should use id token from the callback uri to access shared resource', () => {
+ it('should use id token from the callback uri to access shared resource (no origin)', () => {
auth.window.location.href = callbackUri
let protectedResourcePath = bobServerUri + '/shared-with-alice.txt'
@@ -570,6 +633,32 @@ describe('Authentication API (OIDC)', () => {
})
})
+ it('should use id token from the callback uri to access shared resource (untrusted origin)', () => {
+ auth.window.location.href = callbackUri
+
+ let protectedResourcePath = bobServerUri + '/shared-with-alice.txt'
+
+ return auth.initUserFromResponse(auth.currentClient)
+ .then(webId => {
+ expect(webId).to.equal(aliceWebId)
+
+ return auth.issuePoPTokenFor(bobServerUri, auth.session)
+ })
+ .then(popToken => {
+ bearerToken = popToken
+
+ return fetch(protectedResourcePath, {
+ headers: {
+ 'Authorization': 'Bearer ' + bearerToken,
+ 'Origin': 'https://untrusted.example.com' // shouldn't be allowed if strictOrigin is set to true
+ }
+ })
+ })
+ .then(res => {
+ expect(res.status).to.equal(403)
+ })
+ })
+
it('should not be able to reuse the bearer token for bob server on another server', () => {
let privateAliceResourcePath = aliceServerUri + '/private-for-alice.txt'
diff --git a/test/integration/authentication-oidc-with-strict-origins-turned-off-test.js b/test/integration/authentication-oidc-with-strict-origins-turned-off-test.js
new file mode 100644
index 000000000..f61ca8ab6
--- /dev/null
+++ b/test/integration/authentication-oidc-with-strict-origins-turned-off-test.js
@@ -0,0 +1,562 @@
+const Solid = require('../../index')
+const path = require('path')
+const fs = require('fs-extra')
+const { UserStore } = require('@solid/oidc-auth-manager')
+const UserAccount = require('../../lib/models/user-account')
+const SolidAuthOIDC = require('@solid/solid-auth-oidc')
+
+const fetch = require('node-fetch')
+const localStorage = require('localstorage-memory')
+const URL = require('whatwg-url').URL
+global.URL = URL
+global.URLSearchParams = require('whatwg-url').URLSearchParams
+const { cleanDir, cp } = require('../utils')
+
+const supertest = require('supertest')
+const chai = require('chai')
+const expect = chai.expect
+chai.use(require('dirty-chai'))
+
+// In this test we always assume that we are Alice
+
+describe('Authentication API (OIDC) - With strict origins turned off', () => {
+ let alice, bob
+
+ const aliceServerPort = 7010
+ const aliceServerUri = `https://localhost:${aliceServerPort}`
+ const aliceWebId = `https://localhost:${aliceServerPort}/profile/card#me`
+ let configPath = path.join(__dirname, '../resources/config')
+ let aliceDbPath = path.join(__dirname, '../resources/accounts-strict-origin-off/alice/db')
+ let userStorePath = path.join(aliceDbPath, 'oidc/users')
+ let aliceUserStore = UserStore.from({ path: userStorePath, saltRounds: 1 })
+ aliceUserStore.initCollections()
+
+ const bobServerPort = 7011
+ const bobServerUri = `https://localhost:${bobServerPort}`
+ let bobDbPath = path.join(__dirname, '../resources/accounts-strict-origin-off/bob/db')
+
+ const serverConfig = {
+ sslKey: path.join(__dirname, '../keys/key.pem'),
+ sslCert: path.join(__dirname, '../keys/cert.pem'),
+ auth: 'oidc',
+ dataBrowser: false,
+ webid: true,
+ multiuser: false,
+ configPath,
+ strictOrigin: false
+ }
+
+ const aliceRootPath = path.join(__dirname, '../resources/accounts-strict-origin-off/alice')
+ const alicePod = Solid.createServer(
+ Object.assign({
+ root: aliceRootPath,
+ serverUri: aliceServerUri,
+ dbPath: aliceDbPath
+ }, serverConfig)
+ )
+ const bobRootPath = path.join(__dirname, '../resources/accounts-strict-origin-off/bob')
+ const bobPod = Solid.createServer(
+ Object.assign({
+ root: bobRootPath,
+ serverUri: bobServerUri,
+ dbPath: bobDbPath
+ }, serverConfig)
+ )
+
+ function startServer (pod, port) {
+ return new Promise((resolve) => {
+ pod.listen(port, () => { resolve() })
+ })
+ }
+
+ before(async () => {
+ await Promise.all([
+ startServer(alicePod, aliceServerPort),
+ startServer(bobPod, bobServerPort)
+ ]).then(() => {
+ alice = supertest(aliceServerUri)
+ bob = supertest(bobServerUri)
+ })
+ cp(path.join('accounts-strict-origin-off/alice', '.acl-override'), path.join('accounts-strict-origin-off/alice', '.acl'))
+ cp(path.join('accounts-strict-origin-off/bob', '.acl-override'), path.join('accounts-strict-origin-off/bob', '.acl'))
+ })
+
+ after(() => {
+ alicePod.close()
+ bobPod.close()
+ fs.removeSync(path.join(aliceDbPath, 'oidc/users'))
+ cleanDir(aliceRootPath)
+ cleanDir(bobRootPath)
+ })
+
+ describe('Login page (GET /login)', () => {
+ it('should load the user login form', () => alice.get('/login').expect(200))
+ })
+
+ describe('Login by Username and Password (POST /login/password)', () => {
+ // Logging in as alice, to alice's pod
+ let aliceAccount = UserAccount.from({ webId: aliceWebId })
+ let alicePassword = '12345'
+
+ beforeEach(() => {
+ aliceUserStore.initCollections()
+
+ return aliceUserStore.createUser(aliceAccount, alicePassword)
+ .catch(console.error.bind(console))
+ })
+
+ afterEach(() => {
+ fs.removeSync(path.join(aliceDbPath, 'users/users'))
+ })
+
+ describe('after performing a correct login', () => {
+ let response, cookie
+ before(done => {
+ aliceUserStore.initCollections()
+ aliceUserStore.createUser(aliceAccount, alicePassword)
+ alice.post('/login/password')
+ .type('form')
+ .send({ username: 'alice' })
+ .send({ password: alicePassword })
+ .end((err, res) => {
+ response = res
+ cookie = response.headers['set-cookie'][0]
+ done(err)
+ })
+ })
+
+ it('should redirect to /authorize', () => {
+ const loginUri = response.headers.location
+ expect(response).to.have.property('status', 302)
+ expect(loginUri.startsWith(aliceServerUri + '/authorize'))
+ })
+
+ it('should set the cookie', () => {
+ expect(cookie).to.match(/connect.sid=\S{65,100}/)
+ })
+
+ it('should set the cookie with HttpOnly', () => {
+ expect(cookie).to.match(/HttpOnly/)
+ })
+
+ it('should set the cookie with Secure', () => {
+ expect(cookie).to.match(/Secure/)
+ })
+
+ describe('and performing a subsequent request', () => {
+ let response
+ describe('without cookie', () => {
+ describe('and no origin set', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and our origin', () => {
+ // Our own origin, no agent auth
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Origin', aliceServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and trusted origin', () => {
+ // Configuration for originsAllowed but no auth
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Origin', 'https://apps.solid.invalid')
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and untrusted origin', () => {
+ // Not authenticated but also wrong origin,
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Origin', bobServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ })
+
+ describe('with cookie', () => {
+ describe('and no origin set', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', cookie)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 200', () => expect(response).to.have.property('status', 200))
+ })
+ describe('and our origin', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', cookie)
+ .set('Origin', aliceServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 200', () => expect(response).to.have.property('status', 200))
+ })
+ describe('and trusted origin', () => {
+ before(done => {
+ alice.get('/')
+ .set('Cookie', cookie)
+ .set('Origin', 'https://apps.solid.invalid') // TODO: Should we configure the server with that? Should it matter?
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and untrusted origin', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', cookie)
+ .set('Origin', bobServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ // Even if origin checking is disabled, then this should return a 401 because cookies should not be trusted cross-origin
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ })
+
+ describe('with malicious cookie', () => {
+ let malcookie
+ before(() => {
+ // How Mallory might set their cookie:
+ malcookie = cookie.replace(/connect\.sid=(\S+)/, 'connect.sid=l33th4x0rzp0wn4g3;')
+ })
+ describe('and no origin set', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', malcookie)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and our origin', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', malcookie)
+ .set('Origin', aliceServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and trusted origin', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', malcookie)
+ .set('Origin', 'https://apps.solid.invalid')
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ describe('and untrusted origin', () => {
+ before(done => {
+ alice.get('/private-for-alice.txt')
+ .set('Cookie', malcookie)
+ .set('Origin', bobServerUri)
+ .end((err, res) => {
+ response = res
+ done(err)
+ })
+ })
+
+ it('should return a 401', () => expect(response).to.have.property('status', 401))
+ })
+ })
+ })
+ })
+
+ it('should throw a 400 if no username is provided', (done) => {
+ alice.post('/login/password')
+ .type('form')
+ .send({ password: alicePassword })
+ .expect(400, done)
+ })
+
+ it('should throw a 400 if no password is provided', (done) => {
+ alice.post('/login/password')
+ .type('form')
+ .send({ username: 'alice' })
+ .expect(400, done)
+ })
+
+ it('should throw a 400 if user is found but no password match', (done) => {
+ alice.post('/login/password')
+ .type('form')
+ .send({ username: 'alice' })
+ .send({ password: 'wrongpassword' })
+ .expect(400, done)
+ })
+ })
+
+ describe('Browser login workflow', () => {
+ it('401 Unauthorized asking the user to log in', (done) => {
+ bob.get('/shared-with-alice.txt')
+ .end((err, { status, text }) => {
+ expect(status).to.equal(401)
+ expect(text).to.contain('Log in')
+ done(err)
+ })
+ })
+ })
+
+ describe('Two Pods + Web App Login Workflow', () => {
+ let aliceAccount = UserAccount.from({ webId: aliceWebId })
+ let alicePassword = '12345'
+
+ let auth
+ let authorizationUri, loginUri, authParams, callbackUri
+ let loginFormFields = ''
+ let bearerToken
+
+ before(() => {
+ auth = new SolidAuthOIDC({ store: localStorage, window: { location: {} } })
+ let appOptions = {
+ redirectUri: 'https://app.example.com/callback'
+ }
+
+ aliceUserStore.initCollections()
+
+ return aliceUserStore.createUser(aliceAccount, alicePassword)
+ .then(() => {
+ return auth.registerClient(aliceServerUri, appOptions)
+ })
+ .then(registeredClient => {
+ auth.currentClient = registeredClient
+ })
+ })
+
+ after(() => {
+ fs.removeSync(path.join(aliceDbPath, 'users/users'))
+ fs.removeSync(path.join(aliceDbPath, 'oidc/op/tokens'))
+
+ let clientId = auth.currentClient.registration['client_id']
+ let registration = `_key_${clientId}.json`
+ fs.removeSync(path.join(aliceDbPath, 'oidc/op/clients', registration))
+ })
+
+ // Step 1: An app makes a GET request and receives a 401
+ it('should get a 401 error on a REST request to a protected resource', () => {
+ return fetch(bobServerUri + '/shared-with-alice.txt')
+ .then(res => {
+ expect(res.status).to.equal(401)
+
+ expect(res.headers.get('www-authenticate'))
+ .to.equal(`Bearer realm="${bobServerUri}", scope="openid webid"`)
+ })
+ })
+
+ // Step 2: App presents the Select Provider UI to user, determine the
+ // preferred provider uri (here, aliceServerUri), and constructs
+ // an authorization uri for that provider
+ it('should determine the authorization uri for a preferred provider', () => {
+ return auth.currentClient.createRequest({}, auth.store)
+ .then(authUri => {
+ authorizationUri = authUri
+
+ expect(authUri.startsWith(aliceServerUri + '/authorize')).to.be.true()
+ })
+ })
+
+ // Step 3: App redirects user to the authorization uri for login
+ it('should redirect user to /authorize and /login', () => {
+ return fetch(authorizationUri, { redirect: 'manual' })
+ .then(res => {
+ // Since user is not logged in, /authorize redirects to /login
+ expect(res.status).to.equal(302)
+
+ loginUri = new URL(res.headers.get('location'))
+ expect(loginUri.toString().startsWith(aliceServerUri + '/login'))
+ .to.be.true()
+
+ authParams = loginUri.searchParams
+ })
+ })
+
+ // Step 4: Pod returns a /login page with appropriate hidden form fields
+ it('should display the /login form', () => {
+ return fetch(loginUri.toString())
+ .then(loginPage => {
+ return loginPage.text()
+ })
+ .then(pageText => {
+ // Login page should contain the relevant auth params as hidden fields
+
+ authParams.forEach((value, key) => {
+ let hiddenField = ``
+
+ let fieldRegex = new RegExp(hiddenField)
+
+ expect(pageText).to.match(fieldRegex)
+
+ loginFormFields += `${key}=` + encodeURIComponent(value) + '&'
+ })
+ })
+ })
+
+ // Step 5: User submits their username & password via the /login form
+ it('should login via the /login form', () => {
+ loginFormFields += `username=${'alice'}&password=${alicePassword}`
+
+ return fetch(aliceServerUri + '/login/password', {
+ method: 'POST',
+ body: loginFormFields,
+ redirect: 'manual',
+ headers: {
+ 'content-type': 'application/x-www-form-urlencoded'
+ },
+ credentials: 'include'
+ })
+ .then(res => {
+ expect(res.status).to.equal(302)
+ let postLoginUri = res.headers.get('location')
+ let cookie = res.headers.get('set-cookie')
+
+ // Successful login gets redirected back to /authorize and then
+ // back to app
+ expect(postLoginUri.startsWith(aliceServerUri + '/authorize'))
+ .to.be.true()
+
+ return fetch(postLoginUri, { redirect: 'manual', headers: { cookie } })
+ })
+ .then(res => {
+ // User gets redirected back to original app
+ expect(res.status).to.equal(302)
+ callbackUri = res.headers.get('location')
+ expect(callbackUri.startsWith('https://app.example.com#'))
+ })
+ })
+
+ // Step 6: Web App extracts tokens from the uri hash fragment, uses
+ // them to access protected resource
+ it('should use id token from the callback uri to access shared resource (no origin)', () => {
+ auth.window.location.href = callbackUri
+
+ let protectedResourcePath = bobServerUri + '/shared-with-alice.txt'
+
+ return auth.initUserFromResponse(auth.currentClient)
+ .then(webId => {
+ expect(webId).to.equal(aliceWebId)
+
+ return auth.issuePoPTokenFor(bobServerUri, auth.session)
+ })
+ .then(popToken => {
+ bearerToken = popToken
+
+ return fetch(protectedResourcePath, {
+ headers: {
+ 'Authorization': 'Bearer ' + bearerToken
+ }
+ })
+ })
+ .then(res => {
+ expect(res.status).to.equal(200)
+
+ return res.text()
+ })
+ .then(contents => {
+ expect(contents).to.equal('protected contents\n')
+ })
+ })
+ it('should use id token from the callback uri to access shared resource (untrusted origin)', () => {
+ auth.window.location.href = callbackUri
+
+ let protectedResourcePath = bobServerUri + '/shared-with-alice.txt'
+
+ return auth.initUserFromResponse(auth.currentClient)
+ .then(webId => {
+ expect(webId).to.equal(aliceWebId)
+
+ return auth.issuePoPTokenFor(bobServerUri, auth.session)
+ })
+ .then(popToken => {
+ bearerToken = popToken
+
+ return fetch(protectedResourcePath, {
+ headers: {
+ 'Authorization': 'Bearer ' + bearerToken,
+ 'Origin': 'https://untrusted.example.com' // shouldn't matter if strictOrigin is set to false
+ }
+ })
+ })
+ .then(res => {
+ expect(res.status).to.equal(200)
+
+ return res.text()
+ })
+ .then(contents => {
+ expect(contents).to.equal('protected contents\n')
+ })
+ })
+
+ it('should not be able to reuse the bearer token for bob server on another server', () => {
+ let privateAliceResourcePath = aliceServerUri + '/private-for-alice.txt'
+
+ return fetch(privateAliceResourcePath, {
+ headers: {
+ // This is Alice's bearer token with her own Web ID
+ 'Authorization': 'Bearer ' + bearerToken
+ }
+ })
+ .then(res => {
+ // It will get rejected; it was issued for Bob's server only
+ expect(res.status).to.equal(403)
+ })
+ })
+ })
+
+ describe('Post-logout page (GET /goodbye)', () => {
+ it('should load the post-logout page', () => {
+ return alice.get('/goodbye')
+ .expect(200)
+ })
+ })
+})
diff --git a/test/resources/accounts-scenario/alice/private-for-owner.txt b/test/resources/accounts-scenario/alice/private-for-owner.txt
deleted file mode 100644
index 5d39eb781..000000000
--- a/test/resources/accounts-scenario/alice/private-for-owner.txt
+++ /dev/null
@@ -1 +0,0 @@
-protected contents for owner
diff --git a/test/resources/accounts-scenario/alice/private-for-owner.txt.acl b/test/resources/accounts-strict-origin-off/alice/.acl-override
similarity index 63%
rename from test/resources/accounts-scenario/alice/private-for-owner.txt.acl
rename to test/resources/accounts-strict-origin-off/alice/.acl-override
index fbc63348b..bcdd33def 100644
--- a/test/resources/accounts-scenario/alice/private-for-owner.txt.acl
+++ b/test/resources/accounts-strict-origin-off/alice/.acl-override
@@ -1,5 +1,5 @@
<#Owner>
a ;
- <./private-for-owner.txt>;
- ;
+ <./>;
+ ;
, , .
diff --git a/test/resources/accounts-strict-origin-off/alice/db/oidc/op/provider.json b/test/resources/accounts-strict-origin-off/alice/db/oidc/op/provider.json
new file mode 100644
index 000000000..68a3b5341
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/alice/db/oidc/op/provider.json
@@ -0,0 +1,411 @@
+{
+ "issuer": "https://localhost:7010",
+ "authorization_endpoint": "https://localhost:7010/authorize",
+ "token_endpoint": "https://localhost:7010/token",
+ "userinfo_endpoint": "https://localhost:7010/userinfo",
+ "jwks_uri": "https://localhost:7010/jwks",
+ "registration_endpoint": "https://localhost:7010/register",
+ "response_types_supported": [
+ "code",
+ "code token",
+ "code id_token",
+ "id_token",
+ "id_token token",
+ "code id_token token",
+ "none"
+ ],
+ "response_modes_supported": [
+ "query",
+ "fragment"
+ ],
+ "grant_types_supported": [
+ "authorization_code",
+ "implicit",
+ "refresh_token",
+ "client_credentials"
+ ],
+ "subject_types_supported": [
+ "public"
+ ],
+ "id_token_signing_alg_values_supported": [
+ "RS256",
+ "RS384",
+ "RS512",
+ "none"
+ ],
+ "token_endpoint_auth_methods_supported": [
+ "client_secret_basic"
+ ],
+ "token_endpoint_auth_signing_alg_values_supported": [
+ "RS256"
+ ],
+ "display_values_supported": [],
+ "claim_types_supported": [
+ "normal"
+ ],
+ "claims_supported": [],
+ "claims_parameter_supported": false,
+ "request_parameter_supported": true,
+ "request_uri_parameter_supported": false,
+ "require_request_uri_registration": false,
+ "check_session_iframe": "https://localhost:7010/session",
+ "end_session_endpoint": "https://localhost:7010/logout",
+ "keys": {
+ "descriptor": {
+ "id_token": {
+ "signing": {
+ "RS256": {
+ "alg": "RS256",
+ "modulusLength": 2048
+ },
+ "RS384": {
+ "alg": "RS384",
+ "modulusLength": 2048
+ },
+ "RS512": {
+ "alg": "RS512",
+ "modulusLength": 2048
+ }
+ },
+ "encryption": {}
+ },
+ "token": {
+ "signing": {
+ "RS256": {
+ "alg": "RS256",
+ "modulusLength": 2048
+ },
+ "RS384": {
+ "alg": "RS384",
+ "modulusLength": 2048
+ },
+ "RS512": {
+ "alg": "RS512",
+ "modulusLength": 2048
+ }
+ },
+ "encryption": {}
+ },
+ "userinfo": {
+ "encryption": {}
+ },
+ "register": {
+ "signing": {
+ "RS256": {
+ "alg": "RS256",
+ "modulusLength": 2048
+ }
+ }
+ }
+ },
+ "jwks": {
+ "keys": [
+ {
+ "kid": "QMa5xaKOYwI",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "ol8T6mc7t55kUI3Xf4pHsx8p25VqZ3jm54TQY6xZ07FYzwU8ex02Mg_W_VABRNyVq8wdUBKubo1W8iaKtvtrr0XDOyHUAlwM6xa14332c9akB1AmTirZY4gvyobIY-b18F8LpeIkkLUcypeZmsDd-bGONEJs0sxM6LtLCY41s_lgesPdQwmHLBw4_Rw9NcjBslupWP_pSXUW9x2fj8tKHOoURqmOWL-54t9YbDdIht06uzqagzjPV3UoYtvRsu2QUJx99ExgNvCA9pA1wyiyysyhUdfeKyZpwvTfwWxkrwZrE6zb1AZICFW5R3Bgg0b9UnS96LpFxbSO7rXBRWVKOw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "66gqKTPVHyA",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "rWHV18o2T_9zhO-YknvC9brSjWru496-Dw0iVCiJdEZph94aWXeZW4tYsSjYAfzCJXQUrIqfoPTx100KoYRMiUGpVUh5AgwqAitOpFV_Cxa2j4D01qALwUXWblmJTeCzY7zQFOs1-OBU_U3fhsqcHVPHVlfwO4fYhe-FrhQwTDf55JIW5OGM2bViRxpPyZ3t9nueSuz1jEDCSRlaizJq4jhDrkYWoXtXomRfoseGrZVwTGx5cslfrYs-AmLWMfLkZQWjYZMcwOaJCy3dSkTQkmas4dzGwQqrOqNbgznyCo3oTpHboWS36e0jn_lnbq95zPpZkHNsOzw-Mzq0KRj1jw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "zPdTDVkjms4",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "tbVEZHw4LP21DFHmF0QjbSektUEGl8t4blGcZM871ieppUVZ_uHKlfan2ftnQ4GwBISkmjwk6KP1nc9iiONzqAhJbFheQMT4RAmYz7xPJP9cAPOiD8YbqzO2xJqBT1OMc2PDS7ICH0-t_kBXMb0IR61CTG-CmO5Tp8ecauUkshvvYg0dA3-os16Dy5ex4if3ZSpfXowmfjRrvYAKEPeFTmA9Q8lMzN0ZyuEb2nILIeMFwTAjo8Ck8D1h4keOVaY0mfTgC9KxkR1kIcAc7DELYX-vjG63AwB-8IIo735g5NMrFj22923jymMDpQDTEMui-jW1TQYNGR84ShNW_nJZGQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "8zan03XlrmI",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "y3E2ffizby9vClbahFgkg8_NcpA6iYTwkA4TH2i2-usyH87nz3uM5LfRa7KIV4ZHOvY-DZr6H1MAqaFCPrciWZnPPyTRxlUlYhfb4n42g0Bwk7Oh7z-KZvIqR45x85NfniR3uB8xu47VdTWCmWJge2glMavdWC8mr5Pc8um3Fr5eMVactUFsp571SrVKuY_u5qJHN3xmn7mLpiLdCIHFlBkvvLgcAcUmXFhn8cCzHCqkrcrRgfjhd5YJmv6wxxINrTMT4_dS4jxE5u1Ezw-m6xSIWukdW21lWupFHNZEK5VvIkiCBl73Sh0vO-gv4XNJcQmPRpqMdHat8GLG7I2PHQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "5ooqXseJdoQ",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "tqhzPmOds6zvDNX3IHCr7SW5kf6GlnlpW-Rm4aQot1HmtKnsXieV99VjT98EspvcFeKyT5jcJFgZMHb1n_kOtRnhygFHNZQ4ooFmFI2VP5lPUuOIGppWiO5ZxIzECdnwAGoZ7A1hu9Vh5oJJP-m_88JX3sdbHPlsEpzdXHf-THZKAqPYHGNWeNPkmQuON5PaEwiJGRWQ0dbMZtsiMoVCPjh7ZQM-1N2UjXmSAcCCxst5BaTUwQQuVmKIT-cfxP9ShPjP7_DmpRBDOp7_frMKTPkznL0HPNWqSRRewGWB6AcrdY7WtWI5hHNDx9GTdLmolFOvnL4cgtr99u9adq6vAw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "tfz-MRyl3GQ",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "3vyjzgsA89bJHD7BZ2MNadjFOPUXpuGKlC7OumOspC_iOSMnJ0Kh7oCWmsBTuzGdfY_gYMaXx28NK-LVjGmaEKZxPhdCz7yzofUCMWoVXNhE4hwBdZt1mNl0abaKNzJ_8BhbtTNhourfBvRwebMYFYO0LfEkApE-hM929pFERb0G3-_ybw8A2cqQFvQ67JhYsBcFUwpf68xZvfYTbdsJzfkkoY0UgI01GU55dZskPBK-_jndzo_bNo8wdENU_cUdOllNdZUoWAemWOGoHKdNshGKy6OwZaC9xqaE_VzF-RaYEcf_jaLD7GbPrz9Xcm9sygnFV3IDlj9-0fjKOkAwqw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "FRI7f7sJKUg",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "0d4up4hx3l_HZa6D2PO-YYSqgNbAWjtlIbnFWIZS-PRzVFgDKcR9bLo_9-MGm0sT0tHbyeqc4V8o5oeYF0uhNmlEuU9Do2VYiyc0fkNeW1nFrC-XJYxbnge4Pxbhl-0Jn04O8IJsP15xq16GfRZxYfjKPeFilQNeDwTb_SBqoveZASHUW998eO1bEg0bjUZs4Yy23S4R23ABZKTQMPMGMETGFVbcFNXUohu0eSYMG4eU9iaFNmh0p0G9lU7ER-UFSatczaEFle0Awazb7-EHN6iya3zL6LDt-ezlIszTzHIXa2Dhhga2SlDIyuhFUOkkEeCP3a-sFeXre-JWiYz8ZQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ ]
+ },
+ "id_token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QYVhJiq-QMm6WvDZFXtW-o3ikRXWuxwnUeOn0psxsIXtHrKQ7Wcf29KrCu64MYTvIoOE",
+ "dp": "Ptr722ww8wO8KtospGtbr7pZitFjw-yGTVHu-N7GniJzd7WRX-RzXDufzO41roG4hvvNlJ8bwyT6DLsxsIM4Jd3HU04o5wUUNzR0rBCyK_qVq91k1Tg43xIvrFeOQU9O2MPcUhbaxUVQdTjpEnMXXD-PtvZztWEQylaKIhSkOUM",
+ "dq": "oauPetaGrgcomZlk_gp9qfiuV5m_M6kWe08bm9sHg1BeIGRd0FRByteui5KIsq6acd480eb9GdRNML6CSf1YdWZBlopgr2VaebXTB15UeENEMyPHwvqS5jDiP7glv_2v7L7cWfUOqzKzyVGA85why9fei3JAqzCBS84UeASVgsE",
+ "qi": "lURMq4viaqzYCi_JF_dDZjvc6rpuiRSzhd0PyY6mdutMZqLtZJESZt8HuEqpey5GA4i481DmmUXCfNhBc-4kUOAP5PVdHJp7YttvrzpkZGtJx_xLwLLLgDn6zaheaeNnxRvHqoW0Cycx6TAAVzX2Cdsjo-vRiaRqGkOBPslOiqA",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "QMa5xaKOYwI",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "ol8T6mc7t55kUI3Xf4pHsx8p25VqZ3jm54TQY6xZ07FYzwU8ex02Mg_W_VABRNyVq8wdUBKubo1W8iaKtvtrr0XDOyHUAlwM6xa14332c9akB1AmTirZY4gvyobIY-b18F8LpeIkkLUcypeZmsDd-bGONEJs0sxM6LtLCY41s_lgesPdQwmHLBw4_Rw9NcjBslupWP_pSXUW9x2fj8tKHOoURqmOWL-54t9YbDdIht06uzqagzjPV3UoYtvRsu2QUJx99ExgNvCA9pA1wyiyysyhUdfeKyZpwvTfwWxkrwZrE6zb1AZICFW5R3Bgg0b9UnS96LpFxbSO7rXBRWVKOw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext":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uDRPOXHeOzxtP071_p6VZWEju0kMDihwn91Vkc2RwrgkNrPClGEQstOg12U",
+ "dp": "dqxTIEH8qgpeF2BPvcX53-80xPTJ18pqZ7HBLr0_10XcUiQ4QU-IiFG4xQsUhwxseMCZUw3-9UAHtmfyDUmo_Rg_wUICGfLsDsOKuL3LdQjEu5TkkBm_LYuRvo4ZUX48VZgquLeRP526rUBEGt0Ysh7heNVNXtkRf7bicU0iewU",
+ "dq": "yGvskF7IksJZWNCXZZostBZb_7HowOYvc3_BhZ24vkAs1qr0e0Jei25K9rOHx2y2BSpa-JMKc3CEA6OLvIcfOQLKkk2oiscb2AbwOYXMTmp66ne3J4Fk8HgZsLLeVht6fQxKlI6KL19F08cRV0552kRP1zFYitGy8lomsLpQRC0",
+ "qi": "scdLHtzFy5A5nhbl6XOv_g_5LxTiebV9ifCo8A_Y8T7hEPsUwOZxkIarcREgDbgo7zdJZjpKEklWrsp6sBT6KyJZf1_e_oZWCoivr7btx05ZWq7bJdn8773y-7DjL3H_HFpqVkpx-f03OKV8_AV-VspkxsVrp0FcrRGs2hpjck0",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "66gqKTPVHyA",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "rWHV18o2T_9zhO-YknvC9brSjWru496-Dw0iVCiJdEZph94aWXeZW4tYsSjYAfzCJXQUrIqfoPTx100KoYRMiUGpVUh5AgwqAitOpFV_Cxa2j4D01qALwUXWblmJTeCzY7zQFOs1-OBU_U3fhsqcHVPHVlfwO4fYhe-FrhQwTDf55JIW5OGM2bViRxpPyZ3t9nueSuz1jEDCSRlaizJq4jhDrkYWoXtXomRfoseGrZVwTGx5cslfrYs-AmLWMfLkZQWjYZMcwOaJCy3dSkTQkmas4dzGwQqrOqNbgznyCo3oTpHboWS36e0jn_lnbq95zPpZkHNsOzw-Mzq0KRj1jw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
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cZ9f6XxKeC_uoXrkEdcLl5IthG2WtqKT_If5xIMRW4MYwRD3gTUs-DU255B-7YF3oT_F8",
+ "dp": "jP01QHIRNTatLLffWMRRIQsVRvNpaNA_q9vKcnOmWfUvfbA_rdQc5PWNhf8AXZco2rJZG0rvtomsP2klPLoAn_GQ70ZEp_gaT7QPvcAiPDXi2kz8yGnHZHIqEvjHdvx2e7m2bCI1sj1nn_vDP9B4zGHVXMi5iRYODUiFlYsLfx8",
+ "dq": "v1uxwDJMLVzgNUW234zA4P5GD1u42Ukf74-0Z17g65pHCDYO21HZ9slxsbTyT7T2mtIXZ0fHrfc_-zliIkYsgeIixIXDYoT7CO_OG9MzoEouHlFuO1j7tYckpqjnRlST9oWAxsxcuSVllwiCq9-YP17VWMtnVFVzZ14BrcmeJHE",
+ "qi": "4Ufn1YaM5AImU625M0Fd5r9cYU__mPw-HbJHxHoCENGDY8Mz4pB1nJqu10gI5JKgucU4y8VtV1wBzGb_s97gSS8SMmzea6of2SjoxxyR4sYcPfmJz9-1En7F8r3WahBP1IDMTDV6afbTMVPzPIbjkHowmQHyrTBmx2G3rODfStw",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "zPdTDVkjms4",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "tbVEZHw4LP21DFHmF0QjbSektUEGl8t4blGcZM871ieppUVZ_uHKlfan2ftnQ4GwBISkmjwk6KP1nc9iiONzqAhJbFheQMT4RAmYz7xPJP9cAPOiD8YbqzO2xJqBT1OMc2PDS7ICH0-t_kBXMb0IR61CTG-CmO5Tp8ecauUkshvvYg0dA3-os16Dy5ex4if3ZSpfXowmfjRrvYAKEPeFTmA9Q8lMzN0ZyuEb2nILIeMFwTAjo8Ck8D1h4keOVaY0mfTgC9KxkR1kIcAc7DELYX-vjG63AwB-8IIo735g5NMrFj22923jymMDpQDTEMui-jW1TQYNGR84ShNW_nJZGQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
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CBl73Sh0vO-gv4XNJcQmPRpqMdHat8GLG7I2PHQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ },
+ "RS384": {
+ "privateJwk": {
+ "kid": "2N9QAEg-94s",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "tqhzPmOds6zvDNX3IHCr7SW5kf6GlnlpW-Rm4aQot1HmtKnsXieV99VjT98EspvcFeKyT5jcJFgZMHb1n_kOtRnhygFHNZQ4ooFmFI2VP5lPUuOIGppWiO5ZxIzECdnwAGoZ7A1hu9Vh5oJJP-m_88JX3sdbHPlsEpzdXHf-THZKAqPYHGNWeNPkmQuON5PaEwiJGRWQ0dbMZtsiMoVCPjh7ZQM-1N2UjXmSAcCCxst5BaTUwQQuVmKIT-cfxP9ShPjP7_DmpRBDOp7_frMKTPkznL0HPNWqSRRewGWB6AcrdY7WtWI5hHNDx9GTdLmolFOvnL4cgtr99u9adq6vAw",
+ "e": "AQAB",
+ "d": "akN_oCk2AuS1weLsvYuvCe0rk3re88W4fMRY8iadpWDZdftxTql6_s6-0yWsxvgTxwu2rsYANIioRuC-Lw4m90cSa4Ho2ovbkvby2zwvOuvHETLb6JYnh8wan1VBa3XFwYf4grKaTDtslDzxvmQPzxEeK7YRFL8ql3147qXEZNhka8uIo4n-CdbMG0IazaUJp4oTjt9vId_8PDNqc70qGpCE46bh4Ee76GgF6DfWhnHn2rW5uSatjgQbvA7xJ957GVNlA4k-MC3U-S5DOi_cK6YytVdtNIkBY2EaRhtZQQSw0lRvFXxwenaXZsGAbdS9wOhkFfJYiokkxtbdlAkMgQ",
+ "p": "4-vsibMRfgglnalDkJpUxEJ1Xj4CNzAUr8FZobhqLdhKn1VPNHWIXudmsBuHT6foRLMTTS7R2kzcPWs_c5y8XeaLbETJKSgWtWDjTuBH0J7gg8_th75EInPfhzA79HKfH145DOfpIwMYAxtsDHNvGUjyBwb0Jz6r-at3oSwQncM",
+ "q": "zSkGydk2AqlUztzU7c2y2KE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0HPNWqSRRewGWB6AcrdY7WtWI5hHNDx9GTdLmolFOvnL4cgtr99u9adq6vAw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ },
+ "RS512": {
+ "privateJwk": {
+ "kid": "b3Miw_cVIr0",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "3vyjzgsA89bJHD7BZ2MNadjFOPUXpuGKlC7OumOspC_iOSMnJ0Kh7oCWmsBTuzGdfY_gYMaXx28NK-LVjGmaEKZxPhdCz7yzofUCMWoVXNhE4hwBdZt1mNl0abaKNzJ_8BhbtTNhourfBvRwebMYFYO0LfEkApE-hM929pFERb0G3-_ybw8A2cqQFvQ67JhYsBcFUwpf68xZvfYTbdsJzfkkoY0UgI01GU55dZskPBK-_jndzo_bNo8wdENU_cUdOllNdZUoWAemWOGoHKdNshGKy6OwZaC9xqaE_VzF-RaYEcf_jaLD7GbPrz9Xcm9sygnFV3IDlj9-0fjKOkAwqw",
+ "e": "AQAB",
+ "d": "vRW0fWK9Uwe-D7JzZA0NccT8MHk8rikwzskGSe19lth314WkjNkm4Uyu6NjP57uB1dhsJwQf7mCP5bf6548gsp_BBSrKX8ee92YAjxBqvwkxGB8xaZ4C0TMMURwWBgpPjLPLCFNiprjNmGMtATXJ5WyCHDcQFxE813fpY9n477xuCieCuXbZOH0NRwviXncs_TriRFErDj3DFNUxhEnlUJBgIwiAaFNIXTOmLUVDgDX7DBL0XlHEJZ-WfIixHOwGX5WTFlDlPpqE1qXyTLc0yNaS-5P3r4q1ZgDJkEtc5M6cv6uYQmtu0lQmnR22HfuutGIhTBKiHNezpBwQYsPwQQ",
+ "p": "-R8uHmGlVW5RsOZsWU5dcWIrDgLnwNS4pFVScEwEurQR3JyFt90TZzps8tvpBvqJ3WwgTV38TVlxt31FHQzogJUTvoCmu9kvcHo7cDPKgrbwUdeLuwCQJat-ae2Ay1PHdsGo6l0k32nAwSclurJwHOPesEnYKmVz7GrEcQeakks",
+ "q": "5SS8OQ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UoWAemWOGoHKdNshGKy6OwZaC9xqaE_VzF-RaYEcf_jaLD7GbPrz9Xcm9sygnFV3IDlj9-0fjKOkAwqw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ }
+ },
+ "encryption": {}
+ },
+ "userinfo": {
+ "encryption": {}
+ },
+ "register": {
+ "signing": {
+ "RS256": {
+ "privateJwk": {
+ "kid": "xaDu9yTDJwA",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "0d4up4hx3l_HZa6D2PO-YYSqgNbAWjtlIbnFWIZS-PRzVFgDKcR9bLo_9-MGm0sT0tHbyeqc4V8o5oeYF0uhNmlEuU9Do2VYiyc0fkNeW1nFrC-XJYxbnge4Pxbhl-0Jn04O8IJsP15xq16GfRZxYfjKPeFilQNeDwTb_SBqoveZASHUW998eO1bEg0bjUZs4Yy23S4R23ABZKTQMPMGMETGFVbcFNXUohu0eSYMG4eU9iaFNmh0p0G9lU7ER-UFSatczaEFle0Awazb7-EHN6iya3zL6LDt-ezlIszTzHIXa2Dhhga2SlDIyuhFUOkkEeCP3a-sFeXre-JWiYz8ZQ",
+ "e": "AQAB",
+ "d": "MMLZvi0yn8NLNfHdSnwfgNLtNrAu0wg30CU0mAPlpVhOr4sfeQXhSnDfyf2inFROT85YrcpoFukgPKfGi6sT0uuUfyXOhllWwEYkqS2H79uk1QPdr2i0JLyQb4AmfEEj2jKtv-3drr-H05RL1SZww52lh8klOZAlu4Gah26PuDs5Oy4VcgdiiNFIaBAd1WzCmDxW7xd-tMc709s76eWXCa1F4ZJJny3uGCtJGVBUnfrao6d_RJNw4BX7pje5hYcwSFnZN3AiMmzzje4CP6JU7lSpMImwqOtKhIHbFEGSTfnCb4bPbwpQc0IBYaUlTrWCsXDQgYkNdsLaFiVdsvGWgQ",
+ "p": "7ynGMOB3sQXZ7OoW051wDUdsByiwx1_j7ecpLZ1rSTZ7-TCERMXQq0okQHkVpx6AlU8tOromhMxd_yGFEPOIHC7ZEm4o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b_SBqoveZASHUW998eO1bEg0bjUZs4Yy23S4R23ABZKTQMPMGMETGFVbcFNXUohu0eSYMG4eU9iaFNmh0p0G9lU7ER-UFSatczaEFle0Awazb7-EHN6iya3zL6LDt-ezlIszTzHIXa2Dhhga2SlDIyuhFUOkkEeCP3a-sFeXre-JWiYz8ZQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ }
+ }
+ },
+ "jwkSet": "{\"keys\":[{\"kid\":\"QMa5xaKOYwI\",\"kty\":\"RSA\",\"alg\":\"RS256\",\"n\":\"ol8T6mc7t55kUI3Xf4pHsx8p25VqZ3jm54TQY6xZ07FYzwU8ex02Mg_W_VABRNyVq8wdUBKubo1W8iaKtvtrr0XDOyHUAlwM6xa14332c9akB1AmTirZY4gvyobIY-b18F8LpeIkkLUcypeZmsDd-bGONEJs0sxM6LtLCY41s_lgesPdQwmHLBw4_Rw9NcjBslupWP_pSXUW9x2fj8tKHOoURqmOWL-54t9YbDdIht06uzqagzjPV3UoYtvRsu2QUJx99ExgNvCA9pA1wyiyysyhUdfeKyZpwvTfwWxkrwZrE6zb1AZICFW5R3Bgg0b9UnS96LpFxbSO7rXBRWVKOw\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"66gqKTPVHyA\",\"kty\":\"RSA\",\"alg\":\"RS384\",\"n\":\"rWHV18o2T_9zhO-YknvC9brSjWru496-Dw0iVCiJdEZph94aWXeZW4tYsSjYAfzCJXQUrIqfoPTx100KoYRMiUGpVUh5AgwqAitOpFV_Cxa2j4D01qALwUXWblmJTeCzY7zQFOs1-OBU_U3fhsqcHVPHVlfwO4fYhe-FrhQwTDf55JIW5OGM2bViRxpPyZ3t9nueSuz1jEDCSRlaizJq4jhDrkYWoXtXomRfoseGrZVwTGx5cslfrYs-AmLWMfLkZQWjYZMcwOaJCy3dSkTQkmas4dzGwQqrOqNbgznyCo3oTpHboWS36e0jn_lnbq95zPpZkHNsOzw-Mzq0KRj1jw\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"zPdTDVkjms4\",\"kty\":\"RSA\",\"alg\":\"RS512\",\"n\":\"tbVEZHw4LP21DFHmF0QjbSektUEGl8t4blGcZM871ieppUVZ_uHKlfan2ftnQ4GwBISkmjwk6KP1nc9iiONzqAhJbFheQMT4RAmYz7xPJP9cAPOiD8YbqzO2xJqBT1OMc2PDS7ICH0-t_kBXMb0IR61CTG-CmO5Tp8ecauUkshvvYg0dA3-os16Dy5ex4if3ZSpfXowmfjRrvYAKEPeFTmA9Q8lMzN0ZyuEb2nILIeMFwTAjo8Ck8D1h4keOVaY0mfTgC9KxkR1kIcAc7DELYX-vjG63AwB-8IIo735g5NMrFj22923jymMDpQDTEMui-jW1TQYNGR84ShNW_nJZGQ\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"8zan03XlrmI\",\"kty\":\"RSA\",\"alg\":\"RS256\",\"n\":\"y3E2ffizby9vClbahFgkg8_NcpA6iYTwkA4TH2i2-usyH87nz3uM5LfRa7KIV4ZHOvY-DZr6H1MAqaFCPrciWZnPPyTRxlUlYhfb4n42g0Bwk7Oh7z-KZvIqR45x85NfniR3uB8xu47VdTWCmWJge2glMavdWC8mr5Pc8um3Fr5eMVactUFsp571SrVKuY_u5qJHN3xmn7mLpiLdCIHFlBkvvLgcAcUmXFhn8cCzHCqkrcrRgfjhd5YJmv6wxxINrTMT4_dS4jxE5u1Ezw-m6xSIWukdW21lWupFHNZEK5VvIkiCBl73Sh0vO-gv4XNJcQmPRpqMdHat8GLG7I2PHQ\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"5ooqXseJdoQ\",\"kty\":\"RSA\",\"alg\":\"RS384\",\"n\":\"tqhzPmOds6zvDNX3IHCr7SW5kf6GlnlpW-Rm4aQot1HmtKnsXieV99VjT98EspvcFeKyT5jcJFgZMHb1n_kOtRnhygFHNZQ4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ezlIszTzHIXa2Dhhga2SlDIyuhFUOkkEeCP3a-sFeXre-JWiYz8ZQ\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true}]}"
+ }
+}
\ No newline at end of file
diff --git a/test/resources/accounts-strict-origin-off/alice/private-for-alice.txt b/test/resources/accounts-strict-origin-off/alice/private-for-alice.txt
new file mode 100644
index 000000000..3dd4d7a1a
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/alice/private-for-alice.txt
@@ -0,0 +1 @@
+protected contents for alice
diff --git a/test/resources/accounts-strict-origin-off/alice/private-for-alice.txt.acl b/test/resources/accounts-strict-origin-off/alice/private-for-alice.txt.acl
new file mode 100644
index 000000000..337ba077a
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/alice/private-for-alice.txt.acl
@@ -0,0 +1,12 @@
+<#Alice>
+ a ;
+
+ <./private-for-alice.txt>;
+
+ # Alice web id
+ ;
+
+
+ ,
+ ,
+ .
diff --git a/test/resources/accounts-strict-origin-off/bob/.acl-override b/test/resources/accounts-strict-origin-off/bob/.acl-override
new file mode 100644
index 000000000..13df41ce6
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/bob/.acl-override
@@ -0,0 +1,5 @@
+<#Owner>
+ a ;
+ <./>;
+ ;
+ , , .
diff --git a/test/resources/accounts-strict-origin-off/bob/db/oidc/op/provider.json b/test/resources/accounts-strict-origin-off/bob/db/oidc/op/provider.json
new file mode 100644
index 000000000..d77cc8409
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/bob/db/oidc/op/provider.json
@@ -0,0 +1,411 @@
+{
+ "issuer": "https://localhost:7011",
+ "authorization_endpoint": "https://localhost:7011/authorize",
+ "token_endpoint": "https://localhost:7011/token",
+ "userinfo_endpoint": "https://localhost:7011/userinfo",
+ "jwks_uri": "https://localhost:7011/jwks",
+ "registration_endpoint": "https://localhost:7011/register",
+ "response_types_supported": [
+ "code",
+ "code token",
+ "code id_token",
+ "id_token",
+ "id_token token",
+ "code id_token token",
+ "none"
+ ],
+ "response_modes_supported": [
+ "query",
+ "fragment"
+ ],
+ "grant_types_supported": [
+ "authorization_code",
+ "implicit",
+ "refresh_token",
+ "client_credentials"
+ ],
+ "subject_types_supported": [
+ "public"
+ ],
+ "id_token_signing_alg_values_supported": [
+ "RS256",
+ "RS384",
+ "RS512",
+ "none"
+ ],
+ "token_endpoint_auth_methods_supported": [
+ "client_secret_basic"
+ ],
+ "token_endpoint_auth_signing_alg_values_supported": [
+ "RS256"
+ ],
+ "display_values_supported": [],
+ "claim_types_supported": [
+ "normal"
+ ],
+ "claims_supported": [],
+ "claims_parameter_supported": false,
+ "request_parameter_supported": true,
+ "request_uri_parameter_supported": false,
+ "require_request_uri_registration": false,
+ "check_session_iframe": "https://localhost:7011/session",
+ "end_session_endpoint": "https://localhost:7011/logout",
+ "keys": {
+ "descriptor": {
+ "id_token": {
+ "signing": {
+ "RS256": {
+ "alg": "RS256",
+ "modulusLength": 2048
+ },
+ "RS384": {
+ "alg": "RS384",
+ "modulusLength": 2048
+ },
+ "RS512": {
+ "alg": "RS512",
+ "modulusLength": 2048
+ }
+ },
+ "encryption": {}
+ },
+ "token": {
+ "signing": {
+ "RS256": {
+ "alg": "RS256",
+ "modulusLength": 2048
+ },
+ "RS384": {
+ "alg": "RS384",
+ "modulusLength": 2048
+ },
+ "RS512": {
+ "alg": "RS512",
+ "modulusLength": 2048
+ }
+ },
+ "encryption": {}
+ },
+ "userinfo": {
+ "encryption": {}
+ },
+ "register": {
+ "signing": {
+ "RS256": {
+ "alg": "RS256",
+ "modulusLength": 2048
+ }
+ }
+ }
+ },
+ "jwks": {
+ "keys": [
+ {
+ "kid": "QXv-I1cn_YU",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "siMc_WZIcylWwv6_0mtLKKkH-jDLIsREie9KRannw_BxVvM96CaFlUHywVu1Nkyw_hqCYFXyr91JnQ7YN_fB7OpcBcx6rjbExlD_piewy2X_vXq5_0YN5a3aPb5P6JSmRF-nS257jdteucmEVJeFHzSqXAU2K5Y_2ZXse9hGTg9MJMnzof4jntb19q02E0qBOGeBqDoMXQU0RJB2uncqUzXp7EJeB4UVwvcS107LTYwPX7BAHwyGorpgWc_DYutZq-4DxycQgvIlO3_hGiFjaWhVOHHkO1DGcWTGOM9DcFels7Abf_XkCPIrgeALlOaqUe6dnK-yFCGwBeJhZupP_Q",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "TxrWAv0g4Yk",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "7d5w1iTgbqF5L8wLqFxS72vXfhmOCRHxOzoxFuAJKDtgceguvIZKcA8Krlm4qE10_Fjm3v2BhTBqKaMWeMMqM2KPCeOOm_APcOEqHLltmU301ErcEU7XJFH90HFJVlPDMbuPvX1_0mi904J-TNQ_XX1s4d1OBgJbEn-4RfongbIQK2Fv1LRclZ3n1__dVikrnngSZEWazdidEMFDlI5KNJv6jbGdQAfPzLWzq_9Fl-wbmGu4Up6COLeQDdGybmPCv3a0id9-jVlyZRauUc2RtO3mJdQaOUZNOuDFe2WT0xmhPhoLXKEWhlF1udJGzm0beY7s0pwg4QjhGi7T75d3lQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "-tvrpKoUfPU",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "sGoD0dZ3-F4NaAKQQrPhSGAbkBvJ0OsA3PQiwAhWXMrdOj0n9o2QDQfICdayIHcRwsisQaOz7B-L-pYcYFgMcdhj-yWOYVUMHXJCTqJeiz4zdGqjlCxkOF9ebauahRk_IoXp_hDyx3hqB98giajTn1gpW9G36Hcau4PutfM_jeyxi4iVeQSm8-p7qLCm-qD7ot0vzCqvsIt9cDvm9o5DVwG-LoAzeyZlEDmuDpFrLsFLz-D9rxLfSSdAethycrDA0Fhe1j7Az15NYUItJIkvyM5AsC6X0xyjO1LJWoJfbl9cbfaJQ0c3XKRc_NuxPYcDuM15gw0FaTkgUOYezuALPQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "DA4MU9NJoDo",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "vaugR-F0yLkwgUyJPrIxjUrncPFoGlFyfPWYfVlU4OleYqNnEofoUNI2afIqRQlZgMgfxhknAi6IEhQKdNQGOAqzKoBxEvVK30x4XxMyVPMYYWbTCEEX2K5Kna0wJQ39rsajBWBRusxge_bLydt0dun4ZX4lv_BaCkdKn4TB6x3sQtwPyYrkOj7nykBiLzpcNGYKYbL5B5HGJHbcjXqX6ttvUn7B7E_idcyJbFfcwzrSj87Zdp5aj5LSiIqHtih8Sm2Mch5VQDT_U55UT4n8Rc9K_fJ1bQirXQdZZ9CgU4zcjXx8PnaEpeq18EcXxXsdfCN8o4EBUN7YWog1-65CLw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "re686ijoKyE",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "p3SLWJT-PyQn6n-fvj_s5dNqRJQauAZCC8JFnwUUP6n_LUfCG5tpfRLzZ0yXtsaPfN-z9c8JbXIbsF0HJN3NLTaBOWaZ04yjl3S29_8y-KwOMKlOafuRbYy7sXkicvCnjXRIcV85pAewrpwwHBcI2wDPDbkflwI3m6nurThQAQBDxPWz83QnC_iQ_V3pJGoGYItUGH_sJC06mqATV05dVzHSS0VZSFhEoyEtpykZNnhzgZCOACi4V8P07y0jsxQtqdPYYpqt9qg0Tjp81r-tIIDY7LEWv949rbR3Oad-QBcQC0f4CEapT2nbcVcadODtqPv1pQzSL7sSJ42zATGSxQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "jGE5qoPDlnI",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "-WuAFX1DLbsMHagMw_NDJA6yxCcIm2SDgbMmDKOwCN4dR0YWdwKzDJ31EeoakDg-T85HaU48R4Kcx1WQUYnly98vDymMFl4Xe6zS9je-Uh3IVfkYJV3pwVKr2gj1hrX7QglIktLg0o0iWulFe1K1NQ5u7Jbe7ZZhOaetlTFH8KUgS78fajfhcFtrXBliqxHTiBz2lMYCj2ntqX8K8ue3_lVLBXm53AJG3T-ymnUd-nxJ-NsdFMSIzQO1-KUona9OgxDpu1cFoQ-YzOteSz2OP58wDl3gL5urIhzK7Hvu3I3okzlL2TyCHmOhLn6HMHr2-mwEgsYYnsEQwzu6bbY8hw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ },
+ {
+ "kid": "PhN1R2mze2k",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "yGhTYJWPKU-n1gnPQPf1_Nr8HBJ6F-IT6PyxLJoURWrd_DvuW0EFQD1JolKAYWakuJAIWGtb8CXjRdzXrEVYNfshb-bBGYGotISxAD2z_KzEtcBya_TwywAQiMYildsAPRZR7HqvxnUw2iFUwec_gw6aBvu3rPcLnj6z2KKDJDFC1P4LHNDArh4EquhkgtzeD5h6-8cCI1iKpb-Op5nCe1DjUNg49L5NZhNtDlhCEb8P2LEbcV8vldIz9gJu0MSf94zzWu2JGsVtVQ29XPO8SQqrKQ5TKClmR1jIIGCF7t4AUoaaL6AA81F3cyEhKB3vN_D8DzEsr7tuwomLFZXmBw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ ]
+ },
+ "id_token": {
+ "signing": {
+ "RS256": {
+ "privateJwk": {
+ "kid": "jYjEMK74CQI",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "siMc_WZIcylWwv6_0mtLKKkH-jDLIsREie9KRannw_BxVvM96CaFlUHywVu1Nkyw_hqCYFXyr91JnQ7YN_fB7OpcBcx6rjbExlD_piewy2X_vXq5_0YN5a3aPb5P6JSmRF-nS257jdteucmEVJeFHzSqXAU2K5Y_2ZXse9hGTg9MJMnzof4jntb19q02E0qBOGeBq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MqYhC4XW_XyYTn8MVPawLQznQd8wZNQ7htWDSrlU12DA7d6byjNrKG5Gvn_PBuQbYu_qsmvL8Adm7KiDgN1DKo-4Div09HLA31aUG38peQAYY4mYA3BfQBmP3fXiakgk-vqhW9ncntpimc248",
+ "qi": "raxY35RjgNgbTeIbBzD3Jm0Xz9oCW_HMf8sA3ruvx3erRqhVTeWEn3IpVwYGs_mjxO1IPGzBpGHSTTwObTiDU2Bgv8msniQHcMuld-fye50Rq1K4GBnCsv5frYM2Bw5Z3V5cTsda2zG_QczqV84gu6-vezRcLZyoWFMRXkng6hg",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "QXv-I1cn_YU",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "siMc_WZIcylWwv6_0mtLKKkH-jDLIsREie9KRannw_BxVvM96CaFlUHywVu1Nkyw_hqCYFXyr91JnQ7YN_fB7OpcBcx6rjbExlD_piewy2X_vXq5_0YN5a3aPb5P6JSmRF-nS257jdteucmEVJeFHzSqXAU2K5Y_2ZXse9hGTg9MJMnzof4jntb19q02E0qBOGeBqDoMXQU0RJB2uncqUzXp7EJeB4UVwvcS107LTYwPX7BAHwyGorpgWc_DYutZq-4DxycQgvIlO3_hGiFjaWhVOHHkO1DGcWTGOM9DcFels7Abf_XkCPIrgeALlOaqUe6dnK-yFCGwBeJhZupP_Q",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ },
+ "RS384": {
+ "privateJwk": {
+ "kid": "JXnna97ZRPY",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "7d5w1iTgbqF5L8wLqFxS72vXfhmOCRHxOzoxFuAJKDtgceguvIZKcA8Krlm4qE10_Fjm3v2BhTBqKaMWeMMqM2KPCeOOm_APcOEqHLltmU301ErcEU7XJFH90HFJVlPDMbuPvX1_0mi904J-TNQ_XX1s4d1OBgJbEn-4RfongbIQK2Fv1LRclZ3n1__dVikrnngSZEWaz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w_cZVF6GivwiTIttDwWiIv1Tq8AUQcOCfw7ZZOWHT8kEDv4hwQOAkyCODM3DjNQYyICW3NCeI7xRRdIUCLca5I09m6SZAfcjPpeiadgtyV4SalkfslhM66dS6HHdd-acueDUr6WiWx6XJ7zOesx6U",
+ "qi": "vvHbpuUf7IvZqsHBXXKL75yA6pEOzm_klHRoafrku40DHbddXD68MSBzsifTMyEbzNNwj2N6YygWoF7OhXbl2rET2PQrDJUBrdvoaUKdg7MqUPHKASlRt_OUV81Tt5dR-UcIvZ8JnsjR_HTC5FZd5uXvxn8VLztUhKYm1UBbVtQ",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "TxrWAv0g4Yk",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "7d5w1iTgbqF5L8wLqFxS72vXfhmOCRHxOzoxFuAJKDtgceguvIZKcA8Krlm4qE10_Fjm3v2BhTBqKaMWeMMqM2KPCeOOm_APcOEqHLltmU301ErcEU7XJFH90HFJVlPDMbuPvX1_0mi904J-TNQ_XX1s4d1OBgJbEn-4RfongbIQK2Fv1LRclZ3n1__dVikrnngSZEWazdidEMFDlI5KNJv6jbGdQAfPzLWzq_9Fl-wbmGu4Up6COLeQDdGybmPCv3a0id9-jVlyZRauUc2RtO3mJdQaOUZNOuDFe2WT0xmhPhoLXKEWhlF1udJGzm0beY7s0pwg4QjhGi7T75d3lQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ },
+ "RS512": {
+ "privateJwk": {
+ "kid": "iArDjqR9QcE",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "sGoD0dZ3-F4NaAKQQrPhSGAbkBvJ0OsA3PQiwAhWXMrdOj0n9o2QDQfICdayIHcRwsisQaOz7B-L-pYcYFgMcdhj-yWOYVUMHXJCTqJeiz4zdGqjlCxkOF9ebauahRk_IoXp_hDyx3hqB98giajTn1gpW9G36Hcau4PutfM_jeyxi4iVeQSm8-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DY84EPGLG9XMfHdv2Z8ylDlfTX4XsyXiIJYrLFdL9K8GPiSmT6XuWFba7_QsT-6nSmEILhqJliCqAw1FulXVwF7c2R_XaVJL7soxY7eFJSJMsw8mdKPiSzE40EaQPOVO1gXxfyXgfAB89_E4IdaH9wKozn7x9478grfvlDU",
+ "qi": "o6vR6kC1LTU_6D81fEAf9tXSc-01yuvWxIHc_mRcbI-h-H7BRXBgZrj5X7j3ttPe8g3aG13FZ6y8GpNSrs4LgqNc2VGhxlV8FAV_gVnbgGkpnQaUVtecaHgz03mHOH5hBWOmqBCOLqS4De1KcrwZ1bmhinVu24FVY04Tq82Dc2k",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "-tvrpKoUfPU",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "sGoD0dZ3-F4NaAKQQrPhSGAbkBvJ0OsA3PQiwAhWXMrdOj0n9o2QDQfICdayIHcRwsisQaOz7B-L-pYcYFgMcdhj-yWOYVUMHXJCTqJeiz4zdGqjlCxkOF9ebauahRk_IoXp_hDyx3hqB98giajTn1gpW9G36Hcau4PutfM_jeyxi4iVeQSm8-p7qLCm-qD7ot0vzCqvsIt9cDvm9o5DVwG-LoAzeyZlEDmuDpFrLsFLz-D9rxLfSSdAethycrDA0Fhe1j7Az15NYUItJIkvyM5AsC6X0xyjO1LJWoJfbl9cbfaJQ0c3XKRc_NuxPYcDuM15gw0FaTkgUOYezuALPQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ }
+ },
+ "encryption": {}
+ },
+ "token": {
+ "signing": {
+ "RS256": {
+ "privateJwk": {
+ "kid": "mBFgdSiTnAQ",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "vaugR-F0yLkwgUyJPrIxjUrncPFoGlFyfPWYfVlU4OleYqNnEofoUNI2afIqRQlZgMgfxhknAi6IEhQKdNQGOAqzKoBxEvVK30x4XxMyVPMYYWbTCEEX2K5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6YykazE7G2O6SfGV8OSH_kvTGrnR442H1Y3xD5PQIzUAKqkV3XgE",
+ "dq": "jqMUoHeVswdJCrsXecgf3khP3-PDgcNYlFM-ZK5PxWJtim4cYMjju1gRgXGm_53l3u9_YInoKPBFDtbKgXdwGVgSqdnEhK6q59PTQwlzphXl53I0ce5V6MD8u5S9_du5dT1Ss57w-Cd8ylcfXRCz-6kARMH1WQKujoz-3AYydNU",
+ "qi": "Dcb0uVC4XaXFMFV4ansHRGnp4y5zZNuK-5cQQftLfzKVgZw3AYELw6ZYgQfLWZ_tim9TtVDc62wNQJ4KEUTb0TvsScuRhQNigQABfGDx_cfkllGx6JnDmn1x7kpLKbglhZVw0IrBBL9OiklwF4r7LnXVKP-toerHCUgbJyiv6s0",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "DA4MU9NJoDo",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "vaugR-F0yLkwgUyJPrIxjUrncPFoGlFyfPWYfVlU4OleYqNnEofoUNI2afIqRQlZgMgfxhknAi6IEhQKdNQGOAqzKoBxEvVK30x4XxMyVPMYYWbTCEEX2K5Kna0wJQ39rsajBWBRusxge_bLydt0dun4ZX4lv_BaCkdKn4TB6x3sQtwPyYrkOj7nykBiLzpcNGYKYbL5B5HGJHbcjXqX6ttvUn7B7E_idcyJbFfcwzrSj87Zdp5aj5LSiIqHtih8Sm2Mch5VQDT_U55UT4n8Rc9K_fJ1bQirXQdZZ9CgU4zcjXx8PnaEpeq18EcXxXsdfCN8o4EBUN7YWog1-65CLw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ },
+ "RS384": {
+ "privateJwk": {
+ "kid": "DCo68-1L_bA",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "p3SLWJT-PyQn6n-fvj_s5dNqRJQauAZCC8JFnwUUP6n_LUfCG5tpfRLzZ0yXtsaPfN-z9c8JbXIbsF0HJN3NLTaBOWa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UBZinE91HorYxfLDbinPgCq50Qay7KkjEUH8YRu4HzooZSik_1JeUC3-bmgaURfN434g31OYyvM8",
+ "dq": "BzueBybiiNrQKb2Uxdy1U0FdPQv4K49wfKqemaI2tZTMLpRyPSaQNqXBZYxedW3ya5cMY28AX1JZ7KPHPWGa-GSLFz1YSsxbduvdlEa1kt8ThbYhoLp4uZ9psqWvUcm6keaLAQE0PSvGo4NX0TM8BdPlyh1V6vQlJSLTmBrhPDM",
+ "qi": "L5c_XlyLw4tTUWdrM730pvhC2eGCdSwCc6XAwnUla6q3klxJV1eNcRZoejHAN_QXLS742gpA9A_PTMBfYuBN3-lNLOe-wB3bUDJtCzwGlTthiHChkuqB0KAdq4oj8X49ZMA7Fqlr2KaTFTBsItC-ScVSbss9W2DZv8-XzyNoMyc",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "re686ijoKyE",
+ "kty": "RSA",
+ "alg": "RS384",
+ "n": "p3SLWJT-PyQn6n-fvj_s5dNqRJQauAZCC8JFnwUUP6n_LUfCG5tpfRLzZ0yXtsaPfN-z9c8JbXIbsF0HJN3NLTaBOWaZ04yjl3S29_8y-KwOMKlOafuRbYy7sXkicvCnjXRIcV85pAewrpwwHBcI2wDPDbkflwI3m6nurThQAQBDxPWz83QnC_iQ_V3pJGoGYItUGH_sJC06mqATV05dVzHSS0VZSFhEoyEtpykZNnhzgZCOACi4V8P07y0jsxQtqdPYYpqt9qg0Tjp81r-tIIDY7LEWv949rbR3Oad-QBcQC0f4CEapT2nbcVcadODtqPv1pQzSL7sSJ42zATGSxQ",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ },
+ "RS512": {
+ "privateJwk": {
+ "kid": "0XGSMsImQPQ",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "-WuAFX1DLbsMHagMw_NDJA6yxCcIm2SDgbMmDKOwCN4dR0YWdwKzDJ31EeoakDg-T85HaU48R4Kcx1WQ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BU4PEfE5Zwao4mKZD8KZcR2VJFL0uz1eFzY3ZJ0LxUM861NISPPOFkuwJe4ThUqLhq2JZ2NcAerzrPKfbU7w4oce34k",
+ "dq": "mc9OpSTYIjukbvUFag8FKj3shr_vibjwvr85CIhruTv1ItXt3vWTwpDy114iVSAwRqim4ga1xY19MJOeqdS-OvAa-cI2t9tKbbdj6lWsvN1ktFVoxelCGl1EcqI_pQk0qpXqfXToNk_r682CNqRIZNfVCKz0JZWVNXrLG2CAywE",
+ "qi": "upS-Z2wbbZ_Mla0QpAlORgIr3QLBTK5W0hkhRahoAqm2aGzq269FGSIBnJNxxVkFXL4koHu7diwVCdBHOn3RtnoFYRV1V0sO52Q0B8KI0M8iHM4mVYbk80TsSYBU4lYJqy7U7OnZj1pfnrV4Ky2AAvhTjp2ZbpJCqEPRGJqQlP8",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "jGE5qoPDlnI",
+ "kty": "RSA",
+ "alg": "RS512",
+ "n": "-WuAFX1DLbsMHagMw_NDJA6yxCcIm2SDgbMmDKOwCN4dR0YWdwKzDJ31EeoakDg-T85HaU48R4Kcx1WQUYnly98vDymMFl4Xe6zS9je-Uh3IVfkYJV3pwVKr2gj1hrX7QglIktLg0o0iWulFe1K1NQ5u7Jbe7ZZhOaetlTFH8KUgS78fajfhcFtrXBliqxHTiBz2lMYCj2ntqX8K8ue3_lVLBXm53AJG3T-ymnUd-nxJ-NsdFMSIzQO1-KUona9OgxDpu1cFoQ-YzOteSz2OP58wDl3gL5urIhzK7Hvu3I3okzlL2TyCHmOhLn6HMHr2-mwEgsYYnsEQwzu6bbY8hw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ }
+ },
+ "encryption": {}
+ },
+ "userinfo": {
+ "encryption": {}
+ },
+ "register": {
+ "signing": {
+ "RS256": {
+ "privateJwk": {
+ "kid": "RiiZpS0yli8",
+ "kty": "RSA",
+ "alg": "RS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 "dp": "MeJ55vYFaxhR3t5CDgDR9ccmSe64QOzz8D0R3mgc-FXKszK2c8X-exE7YW7E8JD8O6523sT6N7qIuFmn6CIH64Gl0dgs0jVm8eyYAn-vbVM7Eb_MLcAUWtEFings9UdP-H3fFibVYWvGZ9szUIB49nOTkwmI4c3v_MIdHUm34F0",
+ "dq": "lRjZFpYC7yqMJ-BaV7OOEoFwtwoGI9c9IntwJda7YDerE6gxkqouK0K6schjtVr3YVhShUsBXbFPGCahC9dYTqGUB-8i5HcmOMzb1sMGCiD1QdZ9HcXiqXL7WjG7xhosinH4l-ghvGiI5WyCTCb0H8_YdPnhK8YcW9984yvDmgM",
+ "qi": "UUZvIyomeQkGmtQH41T3vZV_HZSzcZEmdFYPgmjiZMXkOrB3wM1FkqOnoDF51yD8dCuTLSL-Pcq6523NTKtvRLYkum0aZFGMyfPHnK6nGbdsKxjGtHgUuccOUX9XL-WoEsn0F2UGc39JNFQNcScoaIAtgGJ5A5rjfpfvIK7c-Vo",
+ "key_ops": [
+ "sign"
+ ],
+ "ext": true
+ },
+ "publicJwk": {
+ "kid": "PhN1R2mze2k",
+ "kty": "RSA",
+ "alg": "RS256",
+ "n": "yGhTYJWPKU-n1gnPQPf1_Nr8HBJ6F-IT6PyxLJoURWrd_DvuW0EFQD1JolKAYWakuJAIWGtb8CXjRdzXrEVYNfshb-bBGYGotISxAD2z_KzEtcBya_TwywAQiMYildsAPRZR7HqvxnUw2iFUwec_gw6aBvu3rPcLnj6z2KKDJDFC1P4LHNDArh4EquhkgtzeD5h6-8cCI1iKpb-Op5nCe1DjUNg49L5NZhNtDlhCEb8P2LEbcV8vldIz9gJu0MSf94zzWu2JGsVtVQ29XPO8SQqrKQ5TKClmR1jIIGCF7t4AUoaaL6AA81F3cyEhKB3vN_D8DzEsr7tuwomLFZXmBw",
+ "e": "AQAB",
+ "key_ops": [
+ "verify"
+ ],
+ "ext": true
+ }
+ }
+ }
+ },
+ "jwkSet": "{\"keys\":[{\"kid\":\"QXv-I1cn_YU\",\"kty\":\"RSA\",\"alg\":\"RS256\",\"n\":\"siMc_WZIcylWwv6_0mtLKKkH-jDLIsREie9KRannw_BxVvM96CaFlUHywVu1Nkyw_hqCYFXyr91JnQ7YN_fB7OpcBcx6rjbExlD_piewy2X_vXq5_0YN5a3aPb5P6JSmRF-nS257jdteucmEVJeFHzSqXAU2K5Y_2ZXse9hGTg9MJMnzof4jntb19q02E0qBOGeBqDoMXQU0RJB2uncqUzXp7EJeB4UVwvcS107LTYwPX7BAHwyGorpgWc_DYutZq-4DxycQgvIlO3_hGiFjaWhVOHHkO1DGcWTGOM9DcFels7Abf_XkCPIrgeALlOaqUe6dnK-yFCGwBeJhZupP_Q\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"TxrWAv0g4Yk\",\"kty\":\"RSA\",\"alg\":\"RS384\",\"n\":\"7d5w1iTgbqF5L8wLqFxS72vXfhmOCRHxOzoxFuAJKDtgceguvIZKcA8Krlm4qE10_Fjm3v2BhTBqKaMWeMMqM2KPCeOOm_APcOEqHLltmU301ErcEU7XJFH90HFJVlPDMbuPvX1_0mi904J-TNQ_XX1s4d1OBgJbEn-4RfongbIQK2Fv1LRclZ3n1__dVikrnngSZEWazdidEMFDlI5KNJv6jbGdQAfPzLWzq_9Fl-wbmGu4Up6COLeQDdGybmPCv3a0id9-jVlyZRauUc2RtO3mJdQaOUZNOuDFe2WT0xmhPhoLXKEWhlF1udJGzm0beY7s0pwg4QjhGi7T75d3lQ\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"-tvrpKoUfPU\",\"kty\":\"RSA\",\"alg\":\"RS512\",\"n\":\"sGoD0dZ3-F4NaAKQQrPhSGAbkBvJ0OsA3PQiwAhWXMrdOj0n9o2QDQfICdayIHcRwsisQaOz7B-L-pYcYFgMcdhj-yWOYVUMHXJCTqJeiz4zdGqjlCxkOF9ebauahRk_IoXp_hDyx3hqB98giajTn1gpW9G36Hcau4PutfM_jeyxi4iVeQSm8-p7qLCm-qD7ot0vzCqvsIt9cDvm9o5DVwG-LoAzeyZlEDmuDpFrLsFLz-D9rxLfSSdAethycrDA0Fhe1j7Az15NYUItJIkvyM5AsC6X0xyjO1LJWoJfbl9cbfaJQ0c3XKRc_NuxPYcDuM15gw0FaTkgUOYezuALPQ\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"DA4MU9NJoDo\",\"kty\":\"RSA\",\"alg\":\"RS256\",\"n\":\"vaugR-F0yLkwgUyJPrIxjUrncPFoGlFyfPWYfVlU4OleYqNnEofoUNI2afIqRQlZgMgfxhknAi6IEhQKdNQGOAqzKoBxEvVK30x4XxMyVPMYYWbTCEEX2K5Kna0wJQ39rsajBWBRusxge_bLydt0dun4ZX4lv_BaCkdKn4TB6x3sQtwPyYrkOj7nykBiLzpcNGYKYbL5B5HGJHbcjXqX6ttvUn7B7E_idcyJbFfcwzrSj87Zdp5aj5LSiIqHtih8Sm2Mch5VQDT_U55UT4n8Rc9K_fJ1bQirXQdZZ9CgU4zcjXx8PnaEpeq18EcXxXsdfCN8o4EBUN7YWog1-65CLw\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"re686ijoKyE\",\"kty\":\"RSA\",\"alg\":\"RS384\",\"n\":\"p3SLWJT-PyQn6n-fvj_s5dNqRJQauAZCC8JFnwUUP6n_LUfCG5tpfRLzZ0yXtsaPfN-z9c8JbXIbsF0HJN3NLTaBOWaZ04yjl3S29_8y-KwOMKlOafuRbYy7sXkicvCnjXRIcV85pAewrpwwHBcI2wDPDbkflwI3m6nurThQAQBDxPWz83QnC_iQ_V3pJGoGYItUGH_sJC06mqATV05dVzHSS0VZSFhEoyEtpykZNnhzgZCOACi4V8P07y0jsxQtqdPYYpqt9qg0Tjp81r-tIIDY7LEWv949rbR3Oad-QBcQC0f4CEapT2nbcVcadODtqPv1pQzSL7sSJ42zATGSxQ\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"jGE5qoPDlnI\",\"kty\":\"RSA\",\"alg\":\"RS512\",\"n\":\"-WuAFX1DLbsMHagMw_NDJA6yxCcIm2SDgbMmDKOwCN4dR0YWdwKzDJ31EeoakDg-T85HaU48R4Kcx1WQUYnly98vDymMFl4Xe6zS9je-Uh3IVfkYJV3pwVKr2gj1hrX7QglIktLg0o0iWulFe1K1NQ5u7Jbe7ZZhOaetlTFH8KUgS78fajfhcFtrXBliqxHTiBz2lMYCj2ntqX8K8ue3_lVLBXm53AJG3T-ymnUd-nxJ-NsdFMSIzQO1-KUona9OgxDpu1cFoQ-YzOteSz2OP58wDl3gL5urIhzK7Hvu3I3okzlL2TyCHmOhLn6HMHr2-mwEgsYYnsEQwzu6bbY8hw\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true},{\"kid\":\"PhN1R2mze2k\",\"kty\":\"RSA\",\"alg\":\"RS256\",\"n\":\"yGhTYJWPKU-n1gnPQPf1_Nr8HBJ6F-IT6PyxLJoURWrd_DvuW0EFQD1JolKAYWakuJAIWGtb8CXjRdzXrEVYNfshb-bBGYGotISxAD2z_KzEtcBya_TwywAQiMYildsAPRZR7HqvxnUw2iFUwec_gw6aBvu3rPcLnj6z2KKDJDFC1P4LHNDArh4EquhkgtzeD5h6-8cCI1iKpb-Op5nCe1DjUNg49L5NZhNtDlhCEb8P2LEbcV8vldIz9gJu0MSf94zzWu2JGsVtVQ29XPO8SQqrKQ5TKClmR1jIIGCF7t4AUoaaL6AA81F3cyEhKB3vN_D8DzEsr7tuwomLFZXmBw\",\"e\":\"AQAB\",\"key_ops\":[\"verify\"],\"ext\":true}]}"
+ }
+}
\ No newline at end of file
diff --git a/test/resources/accounts-strict-origin-off/bob/shared-with-alice.txt b/test/resources/accounts-strict-origin-off/bob/shared-with-alice.txt
new file mode 100644
index 000000000..304c0b4f3
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/bob/shared-with-alice.txt
@@ -0,0 +1 @@
+protected contents
diff --git a/test/resources/accounts-strict-origin-off/bob/shared-with-alice.txt.acl b/test/resources/accounts-strict-origin-off/bob/shared-with-alice.txt.acl
new file mode 100644
index 000000000..acdaa2eac
--- /dev/null
+++ b/test/resources/accounts-strict-origin-off/bob/shared-with-alice.txt.acl
@@ -0,0 +1,15 @@
+<#Alice>
+ a ;
+
+ <./shared-with-alice.txt>;
+
+ # Alice web id
+ ;
+
+ # Bob web id
+ ;
+
+
+ ,
+ ,
+ .