DSpace 7.6.1: Switch to myDSpace page directly after login?
105 views
Skip to first unread message
Matthias Letsch
unread,
Mar 15, 2024, 10:51:46 AM3/15/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DSpace Technical Support
Hello there,
By default, you remain on the homepage when you log in. Is there a (simple) way to set that after logging in you are taken directly to the myDSpace page with the overview of your own releases?
Thank you and kind regards,
Matthias
Sascha Szott
unread,
Mar 28, 2024, 5:13:19 AM3/28/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dspac...@googlegroups.com
Hi Matthias,
we have solved this by adapting one line in
src/app/core/auth/auth.effects.ts
You need to change the implementation of the redirectAfterLoginSuccess$
method by replacing
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DSpace Technical Support
Hi Sascha,
thank you, this solution works fine for all users that login with email + password (authentication-password).
In addition to this authentication method, we have also activated shibboleth, which most users will use to log in. Unfortunately, the redirect to /mydspace is not executed with the suggested change for those users. Do you happen to know whether and which other place needs to be changed for this?