We're also experiencing this on our dev server, basically exactly as described, "No _links section found" and apparent silent failure after successful Shibboleth login. After a couple of hard refreshes it seems to catch up and finally complete the login process. The behavior is intermittent but frequent. We're also seeing a problem with the interaction of IP authentication groups and Shibboleth-based groups; the Shibboleth based groups never get applied if the user also gets IP-based groups, the ShibAuthentication class's getSpecialGroups method just returns early with "Returning cached special groups." which are the IP-based groups. If I remove the IP Authentication plugin in local.cfg then the Shibboleth group gets applied. I'm going to do some more testing on this one and probably submit an issue, I don't know the backend code well enough to understand everything happening.
On Wednesday, November 22, 2023 at 9:53:05 AM UTC-8 [email protected] wrote: > I came here to ask about this exact thing!!! We also just upgraded to > 7.6.1 with Shib auth. > > In my Chrome console I see several instances of the dreaded "No _links > section found" error after Shibboleth authentication occurs. Everything on > the frontend is displaying perfectly, so I don't think it's the normal > misconfigurations documented in the DSpace wiki that typically cause the no > _links error (and usually prevent the entire site from working). I think > this is specific to the authentication/shibboleth component. I believe > this is failure is the cause of the error messages you posted. The API > calls the auth/shib component makes seem to fail or somehow get an > unexpected response, that response does not have the _links section, the > errors you posted get generated, and (to the user) login just appears to > silently fail. In the Apache logs, my Shib ID *is* recorded for all > requests, and as you said, if I look at the Shib status, Shib also says I'm > logged in. > > - Darryl > > > On Wednesday, November 22, 2023 at 10:00:07 AM UTC-6 Gigawwad > Web-Solutions wrote: > >> We updated from DSpace 7.6 to 7.6.1 and now a strange error has occured. >> The JavaScript Console says after successful authentication that there >> might be an undefined object (see screenshot). >> >> Do you know anything about this error? >> >> Information >> - /server/api is reachable >> - Shibboleth.sso shows active session >> - Session Cookies are set >> >> Server >> - Apache2 + mod_shib / mod_proxy >> - Log shows following message: >> >> 2023-11-22 unknown unknown org.dspace.authenticate.ShibAuthentication @ >> [email protected] has been authenticated via shibboleth. >> >> Thank you and best regards >> > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/53431900-6630-4ff9-9349-3fe0fd13d8dcn%40googlegroups.com.
