fix post_logout_redirect_uri
This commit is contained in:
parent
7a1877072b
commit
438168fbc2
@ -26,7 +26,7 @@ export class NavigationComponent implements OnInit {
|
||||
logout() {
|
||||
const token = this.authService.getToken();
|
||||
let url = this.openid_endpoint + '/logout' +
|
||||
'?post_logout_redirect_uri=' + environment.location;
|
||||
'?post_logout_redirect_uri=http://' + environment.location + ':' + environment.port_fe;
|
||||
if (token) {
|
||||
url += '&id_token_hint=' + this.authService.getToken();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user