You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TokenService.destroyToken() // force a token exchange
71
+
}
69
72
}
70
73
if (this.$route&&this.$route.query&&this.$route.query.code&&this.$route.query.state) {
71
74
72
-
let redirect =TokenService.getRedirect()
75
+
let redirect =DOMPurify.sanitize(TokenService.getRedirect());
73
76
if (redirect !=null&& redirect !="") {
74
77
TokenService.destroyRedirect()
75
-
var url = redirect +"?code="+this.$route.query.code+"&state="+this.$route.query.state+"&client_id="+TokenService.getClientId();
78
+
var url = redirect +"?code="+DOMPurify.sanitize(this.$route.query.code)+"&state="+DOMPurify.sanitize(this.$route.query.state)+"&client_id="+TokenService.getClientId();
0 commit comments