OIDC undefined doesn't contain the link authn

267 views
Skip to first unread message

Alex B

unread,
Apr 23, 2024, 6:20:03 AM4/23/24
to DSpace Technical Support
Dear colleagues, when logging in via OIDC - I get an error: undefined doesn't contain the link authn. 

In log:
2024-04-23 12:55:43,085 WARN  2cebb4e5-b69c-40a3-9b18-5fc5edbed136 dff29cd4-0ee3-4ed9-ac22-391039e986df org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ Authentication is required (status:401 exception: Access is denied at: org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:73))
2024-04-23 12:55:43,087 WARN  2cebb4e5-b69c-40a3-9b18-5fc5edbed136 c6182cf4-2547-40d2-add5-75a9acb3ac15 org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ Authentication is required (status:401 exception: Access is denied at: org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:73))

After reloading the page (f5) or click Log in - authorization works - but not always.
Authorization by OIDC is also obtained after restarting tomcat - but only once!
How to fix this error?

"dspaceVersion": "DSpace 7.6.1" 
ui - DSpace/Angular 7.6.1

Best regards,
Alex

Screenshot from 2024-04-23 13-19-10.png

Humberto Blanco Castillo

unread,
May 20, 2024, 2:28:57 PM5/20/24
to DSpace Technical Support
Alex,
Have you been able to resolve this problem?

plu...@gmail.com

unread,
Sep 5, 2024, 4:57:52 PM9/5/24
to DSpace Technical Support
Hi, i have the same problem

digles...@gmail.com

unread,
Oct 17, 2024, 9:41:16 AM10/17/24
to DSpace Technical Support
Hi

Same problem here.
Login via OIDC use to run after a restart, but not later.


DSpace Technical Support

unread,
Oct 24, 2024, 2:12:56 PM10/24/24
to DSpace Technical Support
Hi all,

I'd recommend logging a bug ticket with more information about the OIDC error you are seeing (and include what version of DSpace you are using).  It's possible there's a bug here, but we need details about the error. Please use the troubleshooting guide at https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

I'd also recommend testing this again on 7.6.2 or 8.0 (if someone hasn't already) to see if any fixes were added there which resolve this bug.

Tim
Reply all
Reply to author
Forward
0 new messages