Can't register to selfhosted pod using CSS

I have tried selfhosting CSS but I can’t achieve to register a new account, the root page of the server says its disabled but I used the configuration generation to enable it (maybe its incompatible as it says the generator is for v6). I followed this docs page to create a docker compose file:

services:
solid-pod:
image: solidproject/community-server:latest
restart: unless-stopped
container_name: solid-pod
networks:
- caddy
volumes:
- ./data:/data
- ./config:/config
environment:
- CSS_CONFIG=/config/config.json
- CSS_LOGGING_LEVEL=debug
networks:
caddy:
external: true

When going to the root page it says the registration if disabled due to:

Registration is disabled on this server. Make sure to update the permissions of the root container to prevent other people from modifying your server.
I tried changing the docker compose to a non root user and change folder permissions but it shows the same text.

This is my current config.json:

{
  "@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
  "import": [
    "css:config/app/init/static-root.json",
    "css:config/app/main/default.json",
    "css:config/app/variables/default.json",
    "css:config/http/handler/default.json",
    "css:config/http/middleware/default.json",
    "css:config/http/notifications/all.json",
    "css:config/http/server-factory/http.json",
    "css:config/http/static/default.json",
    "css:config/identity/access/public.json",
    "css:config/identity/email/default.json",
    "css:config/identity/handler/default.json",
    "css:config/identity/oidc/default.json",
    "css:config/identity/ownership/token.json",
    "css:config/identity/pod/static.json",
    "css:config/ldp/authentication/dpop-bearer.json",
    "css:config/ldp/authorization/webacl.json",
    "css:config/ldp/handler/default.json",
    "css:config/ldp/metadata-parser/default.json",
    "css:config/ldp/metadata-writer/default.json",
    "css:config/ldp/modes/default.json",
    "css:config/storage/backend/file.json",
    "css:config/storage/key-value/resource-store.json",
    "css:config/storage/location/pod.json",
    "css:config/storage/middleware/default.json",
    "css:config/util/auxiliary/acl.json",
    "css:config/util/identifiers/suffix.json",
    "css:config/util/index/default.json",
    "css:config/util/logging/winston.json",
    "css:config/util/representation-conversion/default.json",
    "css:config/util/resource-locker/file.json",
    "css:config/util/variables/default.json"
  ],
  "@graph": [
    {
      "comment": "The email/password registration page.",
      "@type": "Override",
      "overrideInstance": {
        "@id": "urn:solid-server:default:RegisterPasswordAccountHtml"
      },
      "overrideParameters": {
        "@type": "HtmlViewEntry",
        "filePath": "@css:templates/identity/password/register.html.ejs"
      }
    },
    {
      "comment": "The updated OIDC configuration.",
      "@type": "Override",
      "overrideInstance": {
        "@id": "urn:solid-server:default:IdentityProviderFactory"
      },
      "overrideParameters": {
        "@type": "IdentityProviderFactory",
        "config": {
          "claims": {
            "openid": [
              "azp"
            ],
            "webid": [
              "webid"
            ]
          },
          "clockTolerance": 120,
          "cookies": {
            "long": {
              "signed": true,
              "maxAge": 86400000
            },
            "short": {
              "signed": true
            }
          },
          "enabledJWA": {
            "dPoPSigningAlgValues": [
              "RS256",
              "RS384",
              "RS512",
              "PS256",
              "PS384",
              "PS512",
              "ES256",
              "ES256K",
              "ES384",
              "ES512",
              "EdDSA"
            ]
          },
          "features": {
            "claimsParameter": {
              "enabled": true
            },
            "clientCredentials": {
              "enabled": true
            },
            "devInteractions": {
              "enabled": false
            },
            "dPoP": {
              "enabled": true
            },
            "introspection": {
              "enabled": true
            },
            "registration": {
              "enabled": true
            },
            "revocation": {
              "enabled": true
            },
            "userinfo": {
              "enabled": false
            }
          },
          "scopes": [
            "openid",
            "profile",
            "offline_access",
            "webid"
          ],
          "subjectTypes": [
            "public"
          ],
          "ttl": {
            "AccessToken": 3600,
            "AuthorizationCode": 600,
            "BackchannelAuthenticationRequest": 600,
            "ClientCredentials": 600,
            "DeviceCode": 600,
            "Grant": 1209600,
            "IdToken": 3600,
            "Interaction": 3600,
            "RefreshToken": 86400,
            "Session": 1209600
          }
        }
      }
    }
  ]
}
1 Like

May be you could look at CSS/PIVOT GitHub - solid-contrib/pivot: A spec-compliant Solid server, based on a remix of CSS you will find ready to deploy examples.

I will take a look thanks