인증

· React Native
이 전 글에는 React Native 프로젝트와 Firebase를 연동하는 방법을 살펴보았다. 이제 Firebase로 회원 인증을 구현해보자. Firebase 프로젝트 설정 먼저 이 전 글에서 생성한 Firebase 프로젝트에 접속해 왼쪽 사이드 메뉴에 Authentication을 클릭하고 시작하기 버튼을 클릭해준다. 이메일과 비밀번호를 사용해 예제를 구현해볼 것이기 때문에 이메일/비밀번호를 클릭한다. 나머지 제공업체들도 나중에 추가가 가능하다. 이메일/비밀번호를 사용 활성화해주고 저장 버튼을 클릭한다. 여기까지 했다면 이제 리액트 네이티브 프로젝트로 돌아가서 로그인, 회원가입, 로그아웃 기능을 구현해보자. Firebase로 회원 인증 하기 프로젝트에 lib 디렉터리를 만들고, auth.js 파일을 만들..
· Spring
개발 스펙 Java(11) Amazon Corretto JDK(11) Spring Boot(2.5.3) Spring Security(boot-starer) JWT(0.9.1) Config 1. Dependency 추가 Spring Security와 JWT의 Dependency 추가 dependencies { ... // Spring Security implementation "org.springframework.boot:spring-boot-starter-security" // Spring Security Test testImplementation 'org.springframework.security:spring-security-test' // JWT implementation 'io.jsonwebtok..
beekei
'인증' 태그의 글 목록