Redirect change

13 views
Skip to first unread message

Suhail Akhtar

unread,
Aug 29, 2025, 5:29:38 AM (9 days ago) Aug 29
to DSpace Technical Support
How can I change the default component so that it does not initially load the home page, and instead redirects to a custom component after logging in in DSpace v7.6.3?

DSpace Technical Support

unread,
Sep 2, 2025, 5:53:15 PM (4 days ago) Sep 2
to DSpace Technical Support
Hi,

As I noted in Slack, I believe the "reload.guard.ts" is the file you'd need to change, as it decides where to redirect you after a successful login (as a successful login will trigger this reload guard in order to refresh to page with your new permissions).  Here's where it can be found: https://github.com/DSpace/dspace-angular/blob/main/src/app/core/reload/reload.guard.ts

I'll admit though that I've not tried to modify this file for that behavior, but it should be possible.

Tim

Reply all
Reply to author
Forward
0 new messages