Skip to main content

Setup OIDC for Linkwarden

Environment Variable Default Description
NEXT_PUBLIC_AUTHELIA_ENABLED - If set to true, Authelia will be enabled and you'll need to define the variables below.
AUTHELIA_WELLKNOWN_URL - https://{{authelia.domain.com}}/.well-known/openid-configuration
AUTHELIA_CLIENT_ID - Client ID
AUTHELIA_CLIENT_SECRET - Client Secret. (Random Password from command below)

Configure the following 

 

AUTHELIA_WELLKNOWN_URL
Informations about what Authelia Supports

 

AUTHELIA_CLIENT_ID (RFC https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
You could use a reference to the Service ure using OIDC for. But Best Practice is to use a Random Generated String.

 

Create the AUTHELIA_CLIENT_SECRET (RFC https://datatracker.ietf.org/doc/html/rfc3986#section-2.3

docker exec -it authelia authelia crypto hash generate pbkdf2 --variant sha512 --random --random.length 72 --random.charset rfc3986
Random Password: dHl7QGQrM3SW2drq3Vn3V6Kgc.bsI0H_gOVpTfb.EDl~voMdSb7-vPP9cHKHEI1WvSC3TPU_
Digest: $pbkdf2-sha512$310000$IuNVwt/R/V2V7t49rxqnig$.rR8d0FWqIAyoCFm9BYyAnZ51frt8ZlwsqEQ2L/aARCMuTHY1tZVPy4ikNMGou8nRtBKb9CytVQvBYX6GYc1WA