Skip to content

Commit

Permalink
Merge pull request #232 from ssu-student-union/feat/#148_jongse_qa_3
Browse files Browse the repository at this point in the history
Feat/#148 jongse qa 3
  • Loading branch information
jongse7 authored Oct 15, 2024
2 parents 3aaf42f + f62ca14 commit d018af4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
1 change: 0 additions & 1 deletion src/containers/common/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ interface HeaderProps {
export function Header({ state = State.Onboarding, onLogout = () => {} }: HeaderProps) {
const styles = getStyles(state);
const isSmall = useHeaderSize();

return (
<div
className={cn(
Expand Down
3 changes: 2 additions & 1 deletion src/pages/kakao/containers/RegisterButtonSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { KakaoButton } from '@/components/Logo/KakaoButton';

const rest_api_key = import.meta.env.VITE_REST_API_KEY;
const redirect_uri = import.meta.env.VITE_REDIRECT_URI;
const baseUrl = `${window.location.protocol}//${window.location.host}/`;
const TAG = ['ussum_001', 'ussum_002', 'ussum_003'];

const KAKAO_AUTH_URL = `https://kauth.kakao.com/oauth/authorize?response_type=code&client_id=${rest_api_key}&redirect_uri=${redirect_uri}&service_terms=${TAG}`;
const KAKAO_AUTH_URL = `https://kauth.kakao.com/oauth/authorize?response_type=code&client_id=${rest_api_key}&redirect_uri=${baseUrl}${redirect_uri}&service_terms=${TAG}`;

const handleLogin = () => {
window.location.href = KAKAO_AUTH_URL;
Expand Down

0 comments on commit d018af4

Please sign in to comment.