-
Notifications
You must be signed in to change notification settings - Fork 0
KeycloakSettings
ALbertIM0427 edited this page Jun 3, 2023
·
1 revision
- Login
AdminId: admin
AdminPassword: password
- Realm name를 kc-oauth2로 설정하고 create Realm 한다
- 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/*
- Clients -> keycloak
- Credentials -> Client secret 복사 -> api/src/main/resources/application-oauth2.yml -> keycloak의 client-secret에 붙여 놓는다
- Realm settings -> Login
- User registration -> On
- Forget password -> On
- Remember me -> On
- Email as username -> On
- Login with email -> On
- Save