mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Remove setup
This commit is contained in:
@@ -19,7 +19,6 @@ flowchart LR
|
||||
subgraph WaterfallHandlerArgs[" "]
|
||||
direction TB
|
||||
StaticAssetHandler("<strong>StaticAssetHandler</strong><br>StaticAssetHandler")
|
||||
SetupHandler("<strong>SetupHandler</strong><br><i>HttpHandler</i>")
|
||||
OidcHandler("<strong>OidcHandler</strong><br><i>HttpHandler</i>")
|
||||
NotificationHttpHandler("<strong>NotificationHttpHandler</strong><br><i>HttpHandler</i>")
|
||||
StorageDescriptionHandler("<strong>StorageDescriptionHandler</strong><br><i>HttpHandler</i>")
|
||||
@@ -28,8 +27,7 @@ flowchart LR
|
||||
LdpHandler("<strong>LdpHandler</strong><br><i>HttpHandler</i>")
|
||||
end
|
||||
|
||||
StaticAssetHandler --> SetupHandler
|
||||
SetupHandler --> OidcHandler
|
||||
StaticAssetHandler --> OidcHandler
|
||||
OidcHandler --> NotificationHttpHandler
|
||||
NotificationHttpHandler --> StorageDescriptionHandler
|
||||
StorageDescriptionHandler --> AuthResourceHttpHandler
|
||||
@@ -52,17 +50,6 @@ An example of this is the favicon, where the `/favicon.ico` URL
|
||||
is directed to the favicon file at `/templates/images/favicon.ico`.
|
||||
It can also map entire folders to a specific path, such as `/.well-known/css/styles/` which contains all stylesheets.
|
||||
|
||||
## SetupHandler
|
||||
|
||||
The `urn:solid-server:default:SetupHandler` is responsible
|
||||
for redirecting all requests to `/setup` until setup is finished,
|
||||
thereby ensuring that setup needs to be finished before anything else can be done on the server,
|
||||
and handling the actual setup request that is sent to `/setup`.
|
||||
Once setup is finished, this handler will reject all requests and thus no longer be relevant.
|
||||
|
||||
If the server is configured to not have setup enabled,
|
||||
the corresponding identifier will point to a handler that always rejects all requests.
|
||||
|
||||
## OidcHandler
|
||||
|
||||
The `urn:solid-server:default:OidcHandler` handles all requests related
|
||||
|
||||
@@ -134,7 +134,7 @@ To register a user, you can do a POST request with a JSON body containing the co
|
||||
|
||||
Two fields here that are not covered on the HTML page above are `rootPod` and `template`.
|
||||
`rootPod` tells the server to put the pod in the root of the server instead of a location based on the `podName`.
|
||||
By default the server will reject requests where this is `true`, except during setup.
|
||||
By default the server will reject requests where this is `true`.
|
||||
`template` is only used by servers running the `config/dynamic.json` configuration,
|
||||
which is a very custom setup where every pod can have a different Components.js configuration,
|
||||
so this value can usually be ignored.
|
||||
@@ -186,5 +186,3 @@ so they can be recreated when the server restarts.
|
||||
### registration
|
||||
|
||||
This setting allows you to enable/disable registration on the server.
|
||||
Disabling registration here does not disable registration during setup,
|
||||
meaning you can still use this server as an IDP with the account created there.
|
||||
|
||||
Reference in New Issue
Block a user