일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- mssql
- crud
- EXTJS
- 스프링부트
- java
- JS
- Vue
- 자바
- reactjs
- Intellij
- 보안취약점
- table
- component
- DATABASE
- React
- GIT
- springboot
- 개발
- 데이터베이스
- 자바스크립트
- sql
- 컴포넌트
- Spring
- javascript
- 개발공부
- jdk
- 쿼리
- 스프링
- 리액트
- restapi
- Today
- Total
목록vueJS (2)
준준의 기록일지

Hi, Today we are going to talk about how to upload or set configuration of application.yml to Heroku. my application as backend(springboot) and frontend (vue.js) was working properly in local. But, I got into a trouble that when I deploy on Heroku my backend application. It kept occurring CORS Policy Problem on Network of Chrome DevTool. So, I tried to figure out Spring security to solve Cors po..

문제상황 - 로그인 버튼 클릭 -> 정상적으로 jwt토큰을 통한 인증이 진행 성공 -> 로그인 페이지 response값 정상 return -> 하지만 여기서 로그인 페이지가 새로고침 되면서 문제가 발생 - authenticat API는 계속 pending되고 페이지는 계속 새로고침이 되고 있다. 해결 방안 - form태그에서 @click을 쓸 경우 순환 참조가 일어난다. 이에 preventDefault로 방지하거나 form 태그를 사용하면 안된다. 개요 vue.js로 사이드 프로젝트를 진행중입니다. 로그인 페이지는 제외하고 작업하는 도중 로그인을 통한 인증/인가가 필요하게 되어 로그인 페이지를 구현했습니다. 인증 방식은 jwt 토큰 방식으로, spring security에서 secret키를 이용해 tok..