Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:alist [2025/03/19 09:40] – willy | services:alist [2025/03/19 10:40] (current) – willy | ||
---|---|---|---|
Line 200: | Line 200: | ||
=== SSO === | === SSO === | ||
- | If yo uhave setup your SSO backend, like i describe in [[selfhost: | + | **Note:** so far i failed at setting up Authelia in AList. The following notes are as far as i got, but currently there seems to be no communication between Authelia and AList itself. |
+ | |||
+ | If you have setup your SSO backend, like i describe in [[selfhost: | ||
+ | |||
+ | The official documentation [[https:// | ||
+ | |||
+ | Authelia configuration section, to be added to / | ||
+ | < | ||
+ | clients: | ||
+ | - client_id: '<< | ||
+ | client_secret: | ||
+ | client_name: | ||
+ | public: false | ||
+ | authorization_policy: | ||
+ | redirect_uris: | ||
+ | - https:// | ||
+ | - https:// | ||
+ | scopes: | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | userinfo_signed_response_alg: | ||
+ | </ | ||
+ | |||
+ | To generate a ClientID: | ||
+ | <code bash> | ||
+ | authelia crypto rand --length 72 --charset rfc3986 | ||
+ | </ | ||
+ | |||
+ | To generate a Client Secret: | ||
+ | <code bash> | ||
+ | authelia crypto hash generate pbkdf2 --variant sha512 --random --random.length 72 --random.charset rfc3986 | ||
+ | </ | ||
+ | Please note **both** the digest and the password itself! | ||
+ | |||
+ | In AList use the following information: | ||
+ | * Platform: OIDC | ||
+ | * Client ID: use the one generated above | ||
+ | * Client secret: use the one generated above, the password, not the digest | ||
+ | * Sso oidc username key: preferred_username | ||
+ | * Sso organization name: user | ||
+ | * Sso application name: user | ||
+ | * Sso extra scopes: openid email profile | ||
+ | * SSO endpoint name: https:// | ||
+ | * SSO auto register: create AList users from SSO users | ||
+ | * SSO default permission: a sum of all the extra permissions. Use 768 for WebDAV access and editing. | ||
- | .... WIP ... | ||