Signed-off-by: Amir Zarrinkafsh <3339418+nightah@users.noreply.github.com>
3.7 KiB
title, description, summary, date, draft, images, weight, toc, aliases, support, seo
| title | description | summary | date | draft | images | weight | toc | aliases | support | seo | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BookLore | Integrating BookLore with the Authelia OpenID Connect 1.0 Provider. | 2024-03-14T06:00:14+11:00 | false | 620 | true |
|
|
Tested Versions
{{% oidc-common bugs="claims-hydration" %}}
Assumptions
This example makes the following assumptions:
- Application Root URL:
https://booklore.{{< sitevar name="domain" nojs="example.com" >}}/ - Authelia Root URL:
https://{{< sitevar name="subdomain-authelia" nojs="auth" >}}.{{< sitevar name="domain" nojs="example.com" >}}/ - Client ID:
booklore
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 BookLore 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: 'booklore'
client_name: 'BookLore'
public: true
authorization_policy: 'two_factor'
require_pkce: true
pkce_challenge_method: 'S256'
redirect_uris:
- 'https://booklore.{{< sitevar name="domain" nojs="example.com" >}}/api/oidc'
scopes:
- 'openid'
- 'offline_access'
- 'profile'
- 'email'
response_types:
- 'code'
grant_types:
- 'authorization_code'
- 'refresh_token'
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="booklore" claims="email,preferred_username,name" %}}
Application
To configure BookLore there is one method, using the Web GUI.
Web GUI
To configure BookLore to utilize Authelia as an OpenID Connect 1.0 Provider, use the following instructions:
- In the top right click the settings icon (looks like a cog)
- Click
Authentication - Under
OIDC Authentication (Experimental)configure the following options:- OIDC Enabled: Toggle to the on Position
- Provider Name:
Authelia - Client ID:
booklore - Issuer URI:
https://{{< sitevar name="subdomain-authelia" nojs="auth" >}}.{{< sitevar name="domain" nojs="example.com" >}} - Scope:
openid profile email offline_access - Username Claim:
preferred_username - Email Claim:
email - Display Name Claim:
name
- Click
Save Settings.
{{< figure src="booklore.png" alt="BookLore" >}}
See Also
There are currently no additional resources related to this client.