Skip to content

Commit

Permalink
sso error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pbc1017 committed Dec 19, 2023
1 parent 022257c commit ebb8b3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/src/components/UpperBar/UpperBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ export const UpperBar = ({ className, title }: Props): JSX.Element => {
getRequest(`auth/logout?userId=${user.sid}`, (data) => {
const logoutUrl = data.logoutUrl;
alert(logoutUrl);
console.log(logoutUrl);
logout();
window.location.href = logoutUrl;
// window.location.href = logoutUrl;
});
} else {
alert("Invalid user information!"); // 유효하지 않은 사용자 정보에 대한 경고 메시지
Expand Down

0 comments on commit ebb8b3c

Please sign in to comment.