View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006122 | SOGo | Backend General | public | 2025-05-14 19:44 | 2025-05-21 12:51 |
Reporter | josuetille | Assigned To | qhivert | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 5.12.1 | ||||
Fixed in Version | 5.12.2 | ||||
Summary | 0006122: State missing into OIDC authentication flow | ||||
Description | When I try to authenticate with OIDC from SOGo with Authelia, Authelia refuse the authentication with this error
It seem that SOGo redirect the browser to the OIDC server with an URL like this: But Authelia require an additional parameter | ||||
Steps To Reproduce | The config that I use for SOGo, in /etc/sogo/sogo.conf:
In Authelia I've this config:
Step to reproduce:
Expected: We are logged into SOGo Currently: We have an infinite loop of redirection because Authelia redirect to SOGo with an URL like this: https://domain.tld/SOGo/?error=invalid_state&error_description=The state is missing or does not have enough characters and is therefore considered too weak. Request parameter 'state' must be at least be 8 characters long to ensure sufficient entropy.&iss=https://auth.domain.tld Side note, ideally SOGo should probably handle the case when the authentication fail and not redirect to the Authentication server in case of an error. | ||||
Tags | No tags attached. | ||||
Hello, |
|
Sorry a little misstep, the fix will be available tomorrow Thursday the 20th |
|
hello, Thanks for the fix. So I still had one last minor issue. I had this error:
And after just changing the DB schema to have a default value on the column After this fix, now everything work well and also the Thanks a lot for the fix. |
|
Hello, thanks for the feedback, I will add a default value for it when sogo creates the table (but if the table was already created you have to do it manually) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-14 19:44 | josuetille | New Issue | |
2025-05-15 11:19 | qhivert | Assigned To | => qhivert |
2025-05-15 11:19 | qhivert | Status | new => assigned |
2025-05-16 12:29 | qhivert | Note Added: 0018215 | |
2025-05-16 12:29 | qhivert | Status | assigned => feedback |
2025-05-16 12:29 | qhivert | Note Edited: 0018215 | |
2025-05-19 08:00 | qhivert | Note Added: 0018217 | |
2025-05-20 20:15 | josuetille | Note Added: 0018218 | |
2025-05-20 20:15 | josuetille | Status | feedback => assigned |
2025-05-21 07:07 | qhivert | Note Added: 0018219 | |
2025-05-21 12:51 | qhivert | Status | assigned => resolved |
2025-05-21 12:51 | qhivert | Resolution | open => fixed |
2025-05-21 12:51 | qhivert | Fixed in Version | => 5.12.2 |