Loading...

Spring Security OAuth2 Login (JWT) with Github x Spring Boot 3 - Compact Configuration

971 18________

In this recipe, we’re going to secure a simple Spring Boot Application with Github as the Authentication Provider by using Spring Security OAuth2 Login feature.

Github: github.com/nlinhvu/oauth-client-demo-2024/tree/vid…

Spring Security OAuth2 Recipes in Spring Boot 3:    • Spring Security OAuth2 Recipes in Spr...  

You Might Already Know Series:    • You Might Already Know  

References:
OAuth 2.0 Login: docs.spring.io/spring-security/reference/servlet/o…
OAuth 2.0 Login - Core Configuration: docs.spring.io/spring-security/reference/servlet/o…
Creating an OAuth app: docs.github.com/en/apps/oauth-apps/building-oauth-…

(00:00): Introduction
(00:17): Initialize Spring Boot Application
(01:34): Create Github OAuth App
(02:00): Redirect (Callback) URL
(03:11) Setup Github as an Identity Provider - Compact Configuration
(04:02): Add a Controller that uses @AuthenticationPrincipal OAuth2User
(05:27): No openid in scope
(06:30): 2 Identity Providers in a Application

コメント