Hi Daan,

Yes, it's possible to extend the session timeout.  

By default a user's logged in session expires after 30 minutes on the 
backend.  This is controlled by the "jwt.login.token.expiration" setting on 
the backend 
here: 
https://github.com/DSpace/DSpace/blob/main/dspace/config/modules/authentication.cfg#L93-L94

However, the User Interface will also warn a user after 15 minutes, and 
trigger an automatic logout after 5 more minutes (20 minutes total).  
That's controlled  in the "auth > ui" settings on the frontend 
here: 
https://github.com/DSpace/dspace-angular/blob/main/config/config.example.yml#L139-L146

So, to extend the session, you may need to update *both* (depending on how 
long you want to extend it).  The REST API will kill the session after 30 
mins of inactivity, but the User Interface will automatically log you out 
after 20 mins. 

Hopefully that helps,

Tim

On Thursday, May 8, 2025 at 6:57:21 AM UTC-5 [email protected] wrote:

> Good day,
>
> We are running DSpace 7.6.3.
>
> This question might have been asked. I'm sorry if it has been but I cannot 
> find a solution to this.
>
> One of our repository managers works on multiple tabs on our DSpace 
> instances to verify names, submissions, check duplicate titles, etc. She 
> logs in and then opens additional tabs, etc. 
>
> It might happen that she does not work on the initial tab she logged in on 
> and gets logged out. While busy entering data, she wants to save, but she 
> gets notified that an error occurred; she needs to log in.
>
> Can we extend the login time, refresh the token, etc.?
>
> I'm looking forward to hearing back from you.
> Kind regards,
> Daan
>

-- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/76a48c91-1b30-4d60-8f6d-42d1ba04b4cfn%40googlegroups.com.

Reply via email to