클라이언트 앱 시작하기 - application.yml/ OAuth2ClientProperties
266
14 asked
스프링에서 열리는 yml 값으로 실행하면
로그인 페이지가 보이질 않네요
server:
port: 8081
spring:
security:
oauth2:
client:
registration:
keycloak:
clientId: oauth2-client-app
clientSecret: PrKx878dqs1aQ6xEciYY2BVzZjWBW7PP
clientName: oauth2-client-app
authorizationGrantType: authorization_code
scope: openid,profile
clientAuthenticationMethod: client_secret_basic
redirectUri: http://localhost:8081/login/oauth2/code/keycloak
provider: keycloak
provider:
keycloak:
issuerUri: http://localhost:8080/realms/oauth2
authorizationUri: http://localhost:8080/realms/oauth2/protocol/openid-connect/auth
jwkSetUri: http://localhost:8080/realms/oauth2/protocol/openid-connect/certs
tokenUri: http://localhost:8080/realms/oauth2/protocol/openid-connect/token
userInfoUri: http://localhost:8080/realms/oauth2/protocol/openid-connect/userinfo
userNameAttribute: preferred_username
#server:
# port: 8081
# spring:
#
# security:
# oauth2:
# client:
# registration:
# keycloak:
# authorization-grant-type: authoriztion_code
# client-id: oauth2-client-app
# client-secret: PrKx878dqs1aQ6xEciYY2BVzZjWBW7PP
# client-name: oauth2-client-app
# redirect-uri: http://localhost:8081/login/oauth2/code/keycloak
# client-authentication-method: client_secret_post
# scope: openid,email,profile
# provider:
# keycloak:
# authorization-uri: http://localhost:8080/realms/oauth2/protocol/openid-connect/auth
# token-uri: http://localhost:8080/realms/oauth2/protocol/openid-connect/token
# issuer-uri: http://localhost:8080/realms/oauth2
#
# jwk-set-uri: http://localhost:8080/realms/oauth2/protocol/openid-connect/certs
# user-info-uri: http://localhost:8080/realms/oauth2/protocol/openid-connect/userinfo
# user-name-attribute: preferred_username
#
Answer 1
authorization-server 라이브러리 질문이 있습니다.
0
74
1
loadUser 중 Missing attribute 'preferred_username' in attributes 에러 발생
0
74
2
JWT 조회 에 대한 질문
0
69
1
password grant 방식 에러 응답
0
85
3
FormLoginConfigure에서 생성하는 필터
0
75
2
현업에서 springboot를 3.5.5 를 사용해서 공부중인데...
0
282
2
Jdbc 관련 강의 및 깃헙 문의
0
75
1
OAuth2AuthorizedClient 이해 및 활용 강의 내용 질문
0
207
1
UserInfo 엔드포인트 요청 실습
0
72
1
RFC 문서에서의 AccessToken 발급 방식 궁금한점
0
148
1
강의자료.zip 를 다운로드 받았는데 압축이 풀리지 않습니다. 확인 부탁드려요
0
136
2
OIDC SSO 관련 질문 입니다.
0
129
1
AuthenticationEntryPoint 강의 누락 문의
0
120
1
cors설정방법
0
115
1
jwt decoder 토큰 검증 시 질문
0
218
1
클라이언트에서 userinfo 엔드포인트 호출 시 질문
0
183
2
JOSE 구성요소의 api에 관한 질문
0
138
2
스프링 부트 3버전으로 따라가시는 분들 참고하세요
1
524
1
CustomOAuth2AuthenticationFilter 구현 중 질문
0
144
2
AuthenticationManager 생성시점
0
116
1
FormLogin과 Oauth2Client 둘 중 사용하는 시점
0
125
1
postman userinfo 엔드포인트 질문
0
130
2
강의 수강신청하고 듣기 전입니다 질문있습니다.
0
113
1
인증 코드를 통해 발급 받은 토큰의 관리
0
198
1

