TokenEndpoint
Spring Authorization Server - 엔드포인트 프로토콜
OAuth 2.0 Token Endpoint
OAuth2TokenEndpointConfigurer
OAuth2TokenEndpointFilter
RequestMatcher
사용자 정의 기능

클라이언트 인증하기
OAuth2ClientAuthenticationConfigurer
OAuth2ClientAuthenticationFilter
RequestMatcher
사용자 정의 기능

클라이언트 인증 흐름


1. 임시 코드로 토큰 요청

2. OAuth2ClientAuthenticationFilter -> ClientSecretPostAuthenticationConverter

3. ProviderManager -> ClientSecretAuthenticationProvider

4. OAuth2ClientAuthenticationFilter -> onAuthenticationSuccess()

5. AuthorizationFilter -> OAuth2TokenEndpointFilter

권한 부여 유형에 따른 코드 흐름
Last updated