Hi,
I can’t get my new Vikunja installation to work with authelia as OpenID provider.
The “Login with Authelia” button appears, redirects me to Authelia, I can login, then I get redirected to the redirect URL, which then returns HTTP 404 with the content {"message":"Not Found"}
I noticed also:
After opening https://vikunja.mydomain.com, i get redirected to https://vikunja.mydomain.com/login. When directly accessing https://vikunja.mydomain.com/login, I get the same 404 message. In Vikunja, there are also 404 requests to https://vikunja.mydomain.com/workbox-v7.3.0/workbox-sw.js
- Vikunja v1.0.0-rc4 in docker
- Using cosmos cloud as proxy to access via
https://vikunja.mydomain.com - No errors logged in authelia
- Vikunja works with username and password
Vikunja logs:
level=ERROR component=http method=GET uri="/auth/openid/authelia?code=authelia_ac_v8KAbce0Aypxxxx&iss=https%3A%2F%2Fauthelia.mydomain.com&scope=openid+profile+email&state=47ubp2unb0s" status=404 latency=175.977µs err="Not Found"
Vikunja config:
auth:
openid:
enabled: true
providers:
authelia:
name: 'Authelia'
authurl: 'https://authelia.mydomain.com'
clientid: 'vikunja'
clientsecret: 'secret'
scope: 'openid profile email'
Authelia config:
- client_id: 'vikunja'
client_name: 'Vikunja'
client_secret: 'hashed client secret'
public: false
consent_mode: 'implicit'
authorization_policy: 'two_factor'
require_pkce: false
pkce_challenge_method: ''
redirect_uris:
- 'https://vikunja.mydomain.com/auth/openid/authelia'
scopes:
- 'openid'
- 'profile'
- 'email'
response_types:
- 'code'
grant_types:
- 'authorization_code'
access_token_signed_response_alg: 'none'
userinfo_signed_response_alg: 'none'
token_endpoint_auth_method: 'client_secret_basic'
Container env:
"VIKUNJA_SERVICE_PUBLICURL=https://vikunja.mydomain.com",
"VIKUNJA_SERVICE_ROOTPATH=/app/vikunja/",
"VIKUNJA_DATABASE_PATH=/db/vikunja.db",
"VIKUNJA_SERVICE_JWTSECRET=secret",