Files
authelia/docs/content/integration/openid-connect/clients/booklore/index.md
T
2026-09-09 11:35:34 +00:00

3.7 KiB
Raw Blame History

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
level versions integration
community true true
title description canonical noindex
BookLore | OpenID Connect 1.0 | Integration Step-by-step guide to configuring BookLore with OpenID Connect 1.0 for secure SSO. Enhance your login flow using Authelia’s modern identity management. false

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:

  1. In the top right click the settings icon (looks like a cog)
  2. Click Authentication
  3. 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
  4. Click Save Settings.

{{< figure src="booklore.png" alt="BookLore" >}}

See Also

There are currently no additional resources related to this client.