Skip to content

KeycloakSettings

ALbertIM0427 edited this page Jun 3, 2023 · 1 revision
  1. Login
  AdminId: admin
  AdminPassword: password
  1. Realm name를 kc-oauth2로 설정하고 create Realm 한다
  2. Create Client
  1. kc-oauth2 -> Clients -> Create client
  2. Client ID=keycloak -> Next
  3. Clinet authentication -> On -> Next
  4. Valid redirect URIs -> http://localhost:8080/login/oauth2/code/keycloak -> Save
  5. Web origins -> http://127.0.0.1:8080/*
  1. Clients -> keycloak
  2. Credentials -> Client secret 복사 -> api/src/main/resources/application-oauth2.yml -> keycloak의 client-secret에 붙여 놓는다
  3. Realm settings -> Login
  - User registration -> On
  - Forget password -> On
  - Remember me -> On
  - Email as username -> On
  - Login with email -> On
  1. Save
Clone this wiki locally