Self-hosted Authelia cannot log in properly

{
“type”: “error”,
“status”: “”,
“status_code”: 0,
“operation”: “”,
“error_code”: 401,
“error”: “Failed to authenticate: parsing of request failed: token contains an invalid number of segments”,
“metadata”: null
}

Is it because the client (192.168.3.96) cannot recognize or trust the server’s TLS certificate when accessing the server?

alpine:~# incus config show | grep -E “oidc”
oidc.claim: preferred_username
oidc.client.id: incus-oidc-client
oidc.issuer: https://192.168.3.210:9091
oidc.scopes: openid,email,profile,groups

I also run Authelia. For TLS I run Step CA. Then I add the root CA certificate to all my instances. I bet this would also work for Incus UI but I have not tested it.

Thank you, this should be a certificate issue. I’m using a self-signed certificate, I’ll try step-ca.