I'm using Angular client application with IdentityServer. Everything works great, but I have one small issue:
When I use a logout function in my angular client I would like to be redirected to login page that is MVC View of Identity Server 4 (https://identityserver/account/login), but after relog I would like to be redirected back to my angular client.
I achieved it by setting post_logout_redirect to https://angular-client/login-redirect and this login-redirect component is redirecting user again by calling authService.signInRedirect(), but I feel like I'm doing at least one unnecessary redirect. I felt like it is needed to generate right state and nonce parameter. Am I right and this step have to be done or I could skip it somehow?
Hello,
I'm using Angular client application with IdentityServer. Everything works great, but I have one small issue: When I use a logout function in my angular client I would like to be redirected to login page that is MVC View of Identity Server 4 (https://identityserver/account/login), but after relog I would like to be redirected back to my angular client. I achieved it by setting post_logout_redirect to https://angular-client/login-redirect and this login-redirect component is redirecting user again by calling authService.signInRedirect(), but I feel like I'm doing at least one unnecessary redirect. I felt like it is needed to generate right state and nonce parameter. Am I right and this step have to be done or I could skip it somehow?