You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**`claims_policy`** controls which user attributes are included in the ID token. Booklore needs `preferred_username`, `email`, `name`, and `groups` (if you plan to use group mapping).
76
-
77
-
**`public: true`** means Booklore uses PKCE instead of a client secret. This is the recommended approach for browser-based apps.
78
-
79
-
**`consent_mode: implicit`** means users won't be prompted to approve access each time they log in.
80
-
81
41
**`authorization_policy: two_factor`** requires 2FA. Change to `one_factor` if you don't use MFA, or adjust based on your security needs.
82
42
83
43
**`scopes`** must include `groups` if you want to use Booklore's [Group Mapping](oidc-settings.md#group-mapping) feature. Without it, Authelia won't include group memberships in the token.
@@ -86,10 +46,6 @@ identity_providers:
86
46
If you plan to use group mapping, you must include `groups` in both the `scopes` list and the `claims_policy`. Without it, Authelia won't send group information to Booklore, and group mapping will silently do nothing.
87
47
:::
88
48
89
-
:::tip[Generating a random Client ID]
90
-
While `booklore` works fine as a client ID, you can use a random string for extra security. It must be 100 characters or fewer and contain only [RFC3986 unreserved characters](https://datatracker.ietf.org/doc/html/rfc3986#section-2.3) (letters, digits, `-`, `.`, `_`, `~`).
91
-
:::
92
-
93
49
Restart Authelia after saving the config.
94
50
95
51
---
@@ -105,8 +61,8 @@ Fill in the provider configuration:
105
61
| Field | Value |
106
62
|-------|-------|
107
63
| **Provider Name** | `Authelia` (shown on the login button) |
108
-
| **Client ID** | `booklore` (or whatever you set as `client_id` in the Authelia config) |
Authelia [does not currently support](https://www.authelia.com/roadmap/active/openid-connect-1.0-provider/#openid-connect-back-channel-logout-10) back-channel logout, so it cannot be used.
138
88
139
89
---
140
90
@@ -172,7 +122,6 @@ Now that basic OIDC is working, you can configure additional features in Booklor
172
122
### Login Redirects But Fails
173
123
174
124
- The **redirect URI** in Authelia's config must match exactly: `https://booklore.example.com/oauth2-callback`
175
-
- Make sure `response_types` includes `code` and `grant_types` includes `authorization_code`.
176
125
- Check Authelia's logs for a detailed error message.
177
126
178
127
### "User Not Provisioned" Error
@@ -181,7 +130,7 @@ Auto-provisioning is off by default. Either enable it in [OIDC Settings](oidc-se
181
130
182
131
### Group Mapping Not Working
183
132
184
-
- Make sure `groups` is in both the `scopes` list and the `claims_policy` in Authelia's config.
133
+
- Make sure `groups` is in the `scopes` list in Authelia's config.
185
134
- Verify the **Groups Claim** in Booklore is set to `groups`.
186
135
- Check that **Group Sync Mode** in Booklore is not set to Disabled.
187
136
- The group names must match exactly (case-sensitive) between Authelia and Booklore's group mappings.
0 commit comments