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

[feat] Spring security 기본 설정 #8

Merged
merged 6 commits into from
Jul 20, 2023
Merged

Conversation

chaerlo127
Copy link
Collaborator

@chaerlo127 chaerlo127 commented Jul 18, 2023

🌱 이슈 번호

close #7


💬 기타 사항

  • merge 하면 global api와 user/login, user/signup을 제외한 모든 api 에서 403 에러가 나는데, security 적용해서 접근 불가에용
  • 추가적으로 token 없이 접근하고 싶으면 아래 리뷰 확인 바랍니당!

@chaerlo127 chaerlo127 added 🐣 chae-eun 채은이가 만든 기능이에요 ! 🪜 infra 프로그램의 기초 설정을 생성해요 ! labels Jul 18, 2023
@chaerlo127 chaerlo127 self-assigned this Jul 18, 2023
.cors { c -> c.disable() }
.sessionManagement{c -> c.sessionCreationPolicy(SessionCreationPolicy.STATELESS)}
// token 없이 사용이 가능한 api url 작성
.authorizeHttpRequests { c ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

토큰 없이 접근이 가능하도록 하려면 이 부분 변경해주면 됩니당

Copy link
Member

@psyeon1120 psyeon1120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코틀린에 시큐리티까지.....😍

Copy link
Member

@sojungpp sojungpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️‍🔥❤️‍🔥

@chaerlo127 chaerlo127 merged commit c24c8ea into develop Jul 20, 2023
1 check passed
@chaerlo127 chaerlo127 deleted the feat/#7-spring-security branch July 25, 2023 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐣 chae-eun 채은이가 만든 기능이에요 ! 🪜 infra 프로그램의 기초 설정을 생성해요 !
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] Spring Security 초기 셋팅
3 participants