fix(oauth2): replace localStorage with sessionStorage in callback component (#2790)

This commit is contained in:
Shubham Kumar
2025-11-10 09:52:16 -06:00
committed by GitHub
parent 8cea62a5cc
commit 38faa475ba
3 changed files with 60 additions and 53 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
}
const code = getQueryParam('code');
if (code) {
localStorage.setItem('auth_code', code);
sessionStorage.setItem('auth_code', code);
window.location.href = '/#/callback';
}
</script>