Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature #17 middleware 설정 변경 #18

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Feature #17 middleware 설정 변경 #18

merged 1 commit into from
Nov 22, 2023

Conversation

j2h30728
Copy link
Owner

@j2h30728 j2h30728 commented Nov 22, 2023

Feature

  • middleware 설정 변경

Closes #17

Description

  • middleware 설정 변경합니다.

    이전 이후
    미들웨어 내에서 NextRequest 내의 쿠키에서 'dam-witter' 가 존재하는것으로 로그인유무 판단 getIronSession를 이용해서 현재 session내에 user가 존재유무에 따라 로그인유무 판단
  • 동일한 쿠키값이어도 정말 서버에서 암호화해서 넣어준 세션값이 맞는가? 에 대한 의문으로 session자체를 확인하는 방식으로 변경

  • middleware error 'The edge runtime does not support Node.js 'crypto' module.' vvo/iron-session#543 이슈 참고

Copy link

codesandbox bot commented Nov 22, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Nov 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dam-witter ✅ Ready (Inspect) Visit Preview Nov 22, 2023 11:11am

@j2h30728 j2h30728 merged commit f2fa712 into main Nov 22, 2023
3 checks passed
@j2h30728 j2h30728 deleted the feature-#17 branch December 12, 2023 05:38
@j2h30728 j2h30728 added 변경 기존 기능 변경 백엔드 labels Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
백엔드 변경 기존 기능 변경
Projects
None yet
Development

Successfully merging this pull request may close these issues.

middleware 설정 변경
1 participant