SpringBoot Security 15 : Securing WebApp
ok Whenever an ORG is trying to build an Auth servere there are 2 options custom product : keycloak (open src) , okta , there are many on cloud as well (aws cognito) https://www.keycloak.org/ can be used for SSO Identity Broker & Social Login User Federation + more What is a Keycloak : Realm ? A Keycloak realm is an isolated management space, akin to a tenant, that manages a logical collection of users, credentials, roles, and groups Convert Sprint Boot Application to a Resource Server https://github.com/eazybytes/spring-security/blob/4.x.x/section_15/springsecsection_15/pom.xml first : add dependency like below ( line number 43 ) < dependency > < groupId > org.springframework.boot < / groupId > < artifactId > spring-boot-starter-security-oauth2-resource-server < / artifactId > < / dependency > second : delete all authentication clas...