| プロバイダー | FacebookやSlackやGitHubなどのOauth認証提供側 |
| コンシューマ | 上記を利用する側 |
Setting > Developer Setting > Oauth Apps
| AuthorizationServerConfigurerAdapter |
| @EnableOAuth2Sso | 自動でやってくれるがその分何やっているかわからない |
| @EnableOAuth2Client | EnableOAuth2Ssoを外した場合に必要 |
| OAuth2ClientContext | EnableOAuth2Ssoを外した場合に必要 |
| OAuth2ClientAuthenticationProcessingFilter | An OAuth2 client filter that can be used to acquire an OAuth2 access token from an authorization server, and load an authentication object into the SecurityContext |
| WebSecurityConfigurerAdapter | Oauthに限らない認証設定一般 |
| @EnableAuthorizationServer | 認証サーバーとしての定義 |
| AuthorizationServerConfigurerAdapter | |
| ResourceServerConfigurerAdapter | |
| OAuth2ClientAuthenticationProcessingFilter |
https://www.qoosky.io/techs/e279ada277
1系は依存ライブラリも古いのでやめた!
https://qiita.com/yoshikawaa/items/5bc6cabbc2e5815f011c
https://qiita.com/kazuki43zoo/items/9cc00f0c92c7b0e1e529