Tag: spring

  • Oauth2 SSO Keycloak Spring Security

    Oauth2 SSO Keycloak Spring Security

    Introduction In this article we will set up a Keycloak Oauth2 Single Sign-On (SSO) server with two clients and two user accounts with differing permissions. We will create a Spring Boot Java application (a \"resource server\") with two REST endpoints, secured by the Keycloak server and requiring different roles for access. We will send HTTP…