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?

Thanks again
Matthias

Sascha Szott schrieb am Donnerstag, 28. März 2024 um 10:13:19 UTC+1:

> 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
>
> this.authService.navigateToRedirectUrl(action.payload);
>
> with
>
>
> this.authService.navigateToRedirectUrl('/mydspace');
>
>
> Best regards
> Sascha
>
>
> Am 15.03.24 um 15:51 schrieb Matthias Letsch:
> > 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
> > 
> > -- 
> > All messages to this mailing list should adhere to the Code of Conduct: 
> > https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx 
> > <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] 
> > <mailto:[email protected]>.
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/dspace-tech/9dab0f73-5615-49da-84ac-3ce7fbc21b98n%40googlegroups.com
>  
> <
> https://groups.google.com/d/msgid/dspace-tech/9dab0f73-5615-49da-84ac-3ce7fbc21b98n%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
>
>

-- 
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/f356456b-b79d-4058-b489-71452d6f4797n%40googlegroups.com.

Reply via email to