Wannes Kerckhove
cf74ce3d2a
fix: Convert TemplateEngine to AsyncHandlers
2022-09-26 09:42:18 +02:00
Wannes Kerckhove
1c65b06392
fix: Introducing initializers for handling lock cleanup on start
2022-07-06 10:00:15 +02:00
Joachim Van Herwegen
3f817b14b0
feat: Extend OIDC error descriptions
2022-06-01 10:05:36 +02:00
Jasper Vaneessen
2814e72b34
feat: Respect root path for static assets and HTML links
...
* feat: rootpath for static assets and links1
* fix: static asset handler respects root path
* fix: use rootPath for links
* tests: fix the tests after adding consuctor params
* feat: change matchregex instead of stored URLs
* feat: baseUrl for handlebar engine and templates
* feat: full baseUrl passed to templates
* test: fix integration tests + templates
* chore: implement requested changes
* docs: Describe TemplateEngine interface changes
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2022-05-24 10:20:41 +02:00
Joachim Van Herwegen
77eeae9c9e
chore: Update configs to v5.0.0
2022-05-05 11:20:53 +02:00
Joachim Van Herwegen
b84788e05f
refactor: Remove unnecessary Components.js workarounds
2022-04-25 09:09:39 +02:00
Joachim Van Herwegen
cfdd1221f0
fix: Always define @type in configs
2022-04-25 09:09:39 +02:00
Joachim Van Herwegen
ce27bec207
fix: Update prefixes in all configs
2022-04-25 09:09:39 +02:00
Joachim Van Herwegen
784bfc8c21
chore: Update configs to v4.0.0
2022-04-19 15:13:55 +02:00
Joachim Van Herwegen
570e167a36
fix: Keep storage paths consistent with previous version
2022-04-19 11:52:56 +02:00
Joachim Van Herwegen
2ec8fabd54
feat: Add support for client_credentials authentication
2022-04-15 11:20:26 +02:00
Joachim Van Herwegen
30ad3015f0
refactor: Move key/value storages to relevant configs
2022-03-28 11:43:14 +02:00
Joachim Van Herwegen
b292cd2e2b
chore: Update configs to v3.0.0
2022-02-23 11:09:41 +01:00
Ruben Verborgh
eceb71088a
docs: Explain why IDP redirects are transformed into JSON responses.
2022-02-23 10:40:14 +01:00
Joachim Van Herwegen
c9ed90aeeb
fix: Update OIDC provider dependency to v7
...
The biggest resulting change is that the consent page always appears
after logging in.
Some minor fixes to be closer to the spec are included
together with some minor structural refactors.
2022-02-21 10:04:57 +01:00
Joachim Van Herwegen
1769b799df
fix: Make IDP routes independent of handlers
2022-02-16 12:47:45 +01:00
Joachim Van Herwegen
a684b2ead7
feat: Update IDP templates to work with new API format
2022-02-11 10:52:45 +01:00
Joachim Van Herwegen
bc0eeb1012
feat: Split up IDP HTML, routing, and handler behaviour
2022-02-11 10:52:45 +01:00
Joachim Van Herwegen
8f8e8e6df4
feat: Send reset password recordId as query parameter
...
This is a revert of a previous change
but is now possible due to the use of JSON bodies.
This does mean JavaScript is required in the HTML page,
but that will be required for future changes anyway.
2022-02-11 10:52:45 +01:00
Thomas Dupont
d067165b68
fix: Split AccountStorage and ForgotPasswordStorage (expiring now)
2022-02-09 13:26:42 +01:00
Joachim Van Herwegen
90a6460c8d
Merge branch 'main' into versions/3.0.0
...
# Conflicts:
# package-lock.json
# test/integration/Identity.test.ts
# test/integration/RepresentationConverter.test.ts
2022-01-25 11:44:24 +01:00
Lorenzo Gabriele
1a50df25ec
fix: Fix login, register and forgot-password links
...
These links don't work unless you add a trailing slash
2022-01-10 10:39:20 +01:00
Joachim Van Herwegen
4241c5348d
feat: Move redirect support from IDP handler to specific handlers
2021-12-09 14:10:42 +01:00
Joachim Van Herwegen
520e4fe42f
feat: Move OIDC library behaviour to separate path
2021-12-09 13:15:05 +01:00
Joachim Van Herwegen
fc60b5c161
feat: Update IDP parameters to latest Solid-OIDC version
2021-11-08 11:39:16 +01:00
Ruben Verborgh
6d985a65d0
chore: Update configs to v2.0.0.
2021-10-15 10:50:32 +02:00
Joachim Van Herwegen
13c49045d4
feat: Support acl authorization for IDP components
...
Configuration has been updated so the IDP requests
also pass through an Authorization component.
A new config option was added to choose
which authorization scheme to use for the IDP.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
bb7e88b137
refactor: Split HttpHandler behaviour over multiple classes
...
This allows easier reuse of certain reoccurring behaviours,
such as authorization.
The AuthenticatedLdpHandler is no longer required
since it is a combination of parsing and authorization.
This did require a small change to the OperationHandler interface.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
fb0b50c997
fix: Make the RouterHandler more robust
...
It now extracts paths based on the base URL
and allows catching all methods.
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
bbfbfbbce4
refactor: Move InteractionRoute behaviour to separate class
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
32a182dde8
feat: Add controls to IDP response JSON
...
Controls are now used in templates to prevent IDP URL hardcoding
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
d68854a474
feat: Simplify IDP routing
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
20197ea1de
feat: Generalize HTTP handler behaviour in BaseHttpHandler
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
1e1edd5c67
refactor: Clean up internal storage
...
Each IDP class using storage now has a different storage.
This way those classes don't have to worry about clashing keys anymore.
All internal storage is now in the /.internal/ container,
thereby making it easier to take the location of the internal data into account:
only 1 path needs to be blocked and a regex router handling internal data
differently only has to match 1 path as well.
2021-09-08 10:01:51 +02:00
Joachim Van Herwegen
80ebd02cc4
feat: Support content negotiation for IDP requests
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
7b7040a196
feat: Use RequestParser and ResponseWriter for IDP
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
d3de5f3114
feat: Pass optional Interaction to InteractionHandlers
2021-08-04 16:21:13 +02:00
Ruben Verborgh
1719857e4b
change: Use @css: instead of $PACKAGE_ROOT/
...
This makes usage from the command line easier,
since $ is typically used to mark variables.
2021-08-03 13:19:38 +01:00
Joachim Van Herwegen
18a71032c0
feat: Create ChainedTemplateEngine for combining engines
2021-08-03 12:52:30 +02:00
Joachim Van Herwegen
9d337ba80c
feat: Moved IDP response and template behaviour to single class
2021-08-02 11:29:33 +02:00
Joachim Van Herwegen
45f9a51d7c
fix: Prevent cyclical dependency with locker and storage
2021-07-27 13:24:15 +02:00
Joachim Van Herwegen
916dce5bd5
feat: Allow registration to be disabled
2021-07-26 17:05:33 +02:00
Joachim Van Herwegen
3bb7a32c0c
feat: Add support for client_id WebIDs
2021-07-23 16:44:50 +02:00
Joachim Van Herwegen
60ebf5454a
feat: Let InitialInteractionHandler redirect requests
2021-07-23 16:08:28 +02:00
Joachim Van Herwegen
0e67004ef4
feat: Store reset password ID in the submit URL
2021-07-23 16:08:28 +02:00
Ruben Verborgh
1ad03871b2
chore: Align template path names.
2021-07-22 11:12:21 +02:00
Ruben Verborgh
9628fe98b8
refactor: Align EJS engine with Handlebars.
2021-07-22 11:12:21 +02:00
Joachim Van Herwegen
2be360a7af
fix: Add necessary claims to access and id tokens
2021-07-20 11:16:25 +02:00
Joachim Van Herwegen
fdc52f50e5
feat: Simplify and merge OIDC configurations
2021-07-12 13:49:57 +02:00
Joachim Van Herwegen
ee456a5c11
fix: Use #me for WebID generation
2021-07-01 10:32:07 +02:00