mirror of
https://github.com/authelia/authelia.git
synced 2026-10-28 09:34:52 +08:00
Signed-off-by: Amir Zarrinkafsh <3339418+nightah@users.noreply.github.com>
3.2 KiB
3.2 KiB
title, description, summary, date, draft, images, weight, toc, aliases, support, seo
| title | description | summary | date | draft | images | weight | toc | aliases | support | seo | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dashy | Integrating Dashy with the Authelia OpenID Connect 1.0 Provider. | 2025-06-13T14:12:09+00:00 | false | 620 | true |
|
|
Tested Versions
{{% oidc-common bugs="claims-hydration" %}}
Assumptions
This example makes the following assumptions:
- Application Root URL:
https://dashy.{{< sitevar name="domain" nojs="example.com" >}}/ - Authelia Root URL:
https://{{< sitevar name="subdomain-authelia" nojs="auth" >}}.{{< sitevar name="domain" nojs="example.com" >}}/ - Client ID:
dashy
Some of the values presented in this guide can automatically be replaced with documentation variables.
{{< sitevar-preferences >}}
Configuration
Authelia
The following YAML configuration is an example Authelia client configuration for use with Dashy which will operate with the application example:
identity_providers:
oidc:
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
## See: https://www.authelia.com/c/oidc
clients:
- client_id: 'dashy'
client_name: 'Dashy'
public: true
authorization_policy: 'two_factor'
require_pkce: true
pkce_challenge_method: 'S256'
redirect_uris:
- 'https://dashy.{{< sitevar name="domain" nojs="example.com" >}}'
scopes:
- 'openid'
- 'profile'
- 'email'
- 'groups'
- 'roles'
grant_types:
- 'authorization_code'
response_types:
- 'code'
access_token_signed_response_alg: 'none'
userinfo_signed_response_alg: 'none'
token_endpoint_auth_method: 'none'
Configuration Escape Hatch
{{% oidc-escape-hatch-claims-hydration client_id="dashy" claims="email,email_verified,alt_emails,preferred_username,name" %}}
Application
To configure Dashy there is one method, using the Configuration File.
Configuration File
To configure Dashy to utilize Authelia as an OpenID Connect 1.0 Provider, use the following configuration:
appConfig:
auth:
enableOidc: true
oidc:
clientId: 'dashy'
endpoint: 'https://{{< sitevar name="subdomain-authelia" nojs="auth" >}}.{{< sitevar name="domain" nojs="example.com" >}}'