Joachim Van Herwegen
5613ff9e71
fix: Let Representations always have a body
...
This is relevant when the request has a content-type
but no data.
2021-10-12 13:30:06 +02:00
Joachim Van Herwegen
b3da9c9fcf
refactor: Restructure source code folder
...
This way the location of certain classes should make more sense
2021-10-12 12:51:02 +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
8f5d61911d
feat: Always grant control permissions to pod owners
2021-10-05 13:19:01 +02:00
Joachim Van Herwegen
6c4ccb334d
feat: Store account settings separately
...
Account settings are stored using the WebID as key.
Reason for using the WebID is that this allows faster access to the settings
in authenticated requests.
A consequence of this is that passwords are now always required during registration,
and that there can only be 1 account per WebID.
2021-10-05 13:19:01 +02:00
Joachim Van Herwegen
4e1a2f5981
feat: Create SetupHttpHandler
...
This handler allows users to set up servers with a pod
and without having to enable public access first
2021-09-27 10:32:34 +02:00
Joachim Van Herwegen
e31cd38bc5
feat: Provide details field when throwing Token ownership error
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
cc1c3d9223
feat: Support JSON errors
...
The IDP behaviour has been changed to move all error related knowledge
to the IdentityProviderHttpHandler instead of managing it
in the Interactionhandlers.
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
bbfbfbbce4
refactor: Move InteractionRoute behaviour to separate class
2021-09-08 13:55:52 +02:00
Joachim Van Herwegen
3542fe29da
feat: Remove useless fields from IDP JSON response
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
4f1a86dfa0
feat: Convert IDP input data to JSON
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
ff200e22a9
feat: Add a cache to the AgentGroupAccessChecker
2021-08-23 16:39:25 +02:00
Joachim Van Herwegen
a062a710bc
fix: Explain why logging in will not work
2021-08-18 16:51:12 +02:00
Joachim Van Herwegen
f0f59a8f27
refactor: Move URL join utility function to PathUtil
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
80ebd02cc4
feat: Support content negotiation for IDP requests
2021-08-18 15:39:02 +02:00
Joachim Van Herwegen
7b42c72142
feat: Let InteractionCompleter return redirect URL
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
47b3a2d77f
fix: Allow clients to be remembered in the SessionHttpHandler
2021-08-17 16:58:56 +02:00
Joachim Van Herwegen
f71f8683fc
feat: Indicate to templates if this is part of an auth request
2021-08-16 09:39:02 +02:00
Joachim Van Herwegen
cb227d6431
feat: Throw error when trying to complete interaction out of session
2021-08-16 09:39:02 +02:00
Ruben Verborgh
c1d8f0e841
docs: Clarify ownership validation message.
2021-08-04 16:56:35 +02:00
Joachim Van Herwegen
d3de5f3114
feat: Pass optional Interaction to InteractionHandlers
2021-08-04 16:21:13 +02:00
Joachim Van Herwegen
18a71032c0
feat: Create ChainedTemplateEngine for combining engines
2021-08-03 12:52:30 +02:00
Joachim Van Herwegen
63e88578c3
feat: Rewrite TokenOwnershipValidator behaviour to remove @rdfjs/fetch dependency
2021-08-02 12:02:10 +02:00
Joachim Van Herwegen
9d337ba80c
feat: Moved IDP response and template behaviour to single class
2021-08-02 11:29:33 +02:00
Ruben Verborgh
969bb0ee6c
docs: Make registration form self-explanatory.
2021-07-30 13:20:19 +02:00
Joachim Van Herwegen
d596d575a1
fix: Clean pod creation input parameters during registration
2021-07-27 08:49:53 +02:00
Joachim Van Herwegen
2df3f1f28c
fix: Trust X-Forwarded headers in the IDP
2021-07-26 14:13:03 +02:00
Ruben Verborgh
defdb32a35
docs: Add pod README.
2021-07-23 23:13:38 +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
9628fe98b8
refactor: Align EJS engine with Handlebars.
2021-07-22 11:12:21 +02:00
Ruben Verborgh
31dcfbf51e
chore: Move FetchUtil to util folder.
2021-07-20 15:33:28 +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
Stijn Taelemans
b328f9a1b0
fix: Add solid_oidc_supported to openid config
...
* fix: added solid_oidc_supported to openid config
* test: fixed coverage
* chore: moved solid_oidc_supported to config discovery
2021-06-18 11:08:20 +02:00
Joachim Van Herwegen
7cfb87e516
feat: Add better support for non-native errors
2021-06-14 15:29:47 +02:00
Joachim Van Herwegen
57d77e941d
feat: Integrate ErrorHandler and remove ResponseWriter error support
2021-06-07 13:54:38 +02:00
Joachim Van Herwegen
4d7d939dc4
feat: Combine pod creation with IDP registration
2021-06-01 15:38:55 +02:00
Joachim Van Herwegen
9bb42ddf0d
feat: Add verification to AccountStore
2021-06-01 15:38:55 +02:00
Joachim Van Herwegen
6214e0c537
feat: Introduce debugging OwnershipValidator
2021-06-01 15:38:55 +02:00
Joachim Van Herwegen
998d2f49e1
fix: Remove interaction details from IdpRenderHandler
2021-06-01 15:38:55 +02:00
Joachim Van Herwegen
6bfe1bdccc
feat: Change OwnershipValidator to create own token
...
It also no longer checks the issuer triple
since that is independent of ownership.
2021-06-01 15:38:55 +02:00
Joachim Van Herwegen
df33b6dc47
feat: Remove /interaction/:uid from IDP URLs
2021-06-01 15:38:55 +02:00
renovate[bot]
afc662ca9a
chore: Update (ts-)jest and use modern fake timers where possible
...
* chore(deps): update dependency jest to v27
* chore: Update (ts-)jest and use modern fake timers where possible
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
2021-05-31 15:29:14 +02:00