View Issue Details

IDProjectCategoryView StatusLast Update
0005292SOGoWeb Mailpublic2021-04-27 09:38
Reporterwebtech Assigned To 
Status newResolutionopen 
PlatformServerOSUbuntuOS Version20.04
Product Version5.1.0 
Summary0005292: SAML auth seems to have stopped working between 5.0.1-1 and 5.1.0-1

When SAML is enabled you don't get directed to the IDP. you just get the normal username/password screen.

Nothing logged even with debug but when navigating to /SOGO/saml2data it doesn't display the xml and you get the following:

Apr 02 10:46:20 sogod [14630]: [ERROR] [so-action 0x0x555b8aeda0d0 SOGoSAML2Actions] did not find action class: SOGoSAML2Actions
Apr 02 10:46:20 sogod [14630]: [ERROR] [so-action 0x0x555b8ae25450 SOGoSAML2Actions] did not find method 'SOGoSAML2Actions'

Steps To Reproduce

Install SOGo
Configure for SAML

Watch as it fails to redirect to the Identity provider.

Additional Information

Tried switching to nightlies but it's still broken.

TagsNo tags attached.




2021-04-09 16:38

administrator   ~0015195

Were you running 5.0.1 on the same platform (Ubuntu 20.04)?

Are you using the nightly builds? Are you compiling sogod yourself?



2021-04-09 16:56

reporter   ~0015196

Yes I have production running on Ubuntu 20.04 and an upgrade to one of those server builds will break SAML auth.

I'm using the production builds. I did try with the nightly build to see if that fixed it but it didn't. It's not obvious to me which of the updates from 5.0.1 to 5.1.0 would have broken SAML auth but it's reproducible.



2021-04-14 09:40

reporter   ~0015199

I am experiencing the same error with v5.1.0

I am compiling SOGo myself in the Dockerfile:
The configuration file used is with SAML properties turned off:

With debug log enabled I have that:

|SOGo| starting method 'GET' on uri '/SOGo/saml2-metadata'
<0x0x556fbb137450[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x556fbb137450[SOGoCache]> Using host(s) 'memcached' as server(s)
|SOGo| traverse(acquire): SOGo => saml2-metadata
|SOGo| do traverse name: 'SOGo'
|SOGo| do traverse name: 'saml2-metadata'
[ERROR] [so-action 0x0x556fbb43fa50 SOGoSAML2Actions] did not find action class: SOGoSAML2Actions
[ERROR] [so-action 0x0x556fbb1102e0 SOGoSAML2Actions] did not find method 'SOGoSAML2Actions'
|SOGo| traverse miss: name=saml2-metadata, acquire: i=1,count=2
|SOGo| miss is last object.
|SOGo| handle miss error: <SoAuthRequiredException: 0x556fbb463dc0> NAME:SoAuthRequired REASON:authentication required
PG0x0x556fbb23f0c0 SQL: SELECT c_defaults FROM sogo_user_profile WHERE c_uid = 'anonymous'
|SOGo| request took 0.038368 seconds to execute
<0x0x556fbb1ad300[WOResponse]> Zipping of response disabled
sogo "GET /SOGo/saml2-metadata HTTP/1.1" 200 27984/0 0.040 - - 4M - 12



2021-04-27 09:38

reporter   ~0015228

Can I provide any more info or do anything further to help troubleshoot this issue?

Issue History

Date Modified Username Field Change
2021-04-02 06:08 webtech New Issue
2021-04-09 16:38 francis Note Added: 0015195
2021-04-09 16:56 webtech Note Added: 0015196
2021-04-14 09:40 artonge Note Added: 0015199
2021-04-27 09:38 webtech Note Added: 0015228