siathalysedI / keycloak-oidc-example

Simple Example for OpenId Connect using Keycloak, Spring Boot (Security) & Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keycloak OpenId Connect Example

Simple Example for OpenId Connect using Keycloak, Spring Boot (Security) & Angular

Keycloak

In this example we're using Keycloak as an IDP. How to set up Keycloak Docker images can be found here: Keycloak Docker Images

Angular Frontend

Our frontend is a simple web application based on Angular. The frontend consists of three pages public, user and admin. We want to make sure that an user has to login when entering the app. Furthermore, we want that users only have access to page when they have the corresponding permissions (roles). Integrating Keycloak in an Angular Frontend

Spring Boot 2 Backend

We're building up a Spring Boot 2 application as a resource server. This resource server has got two different endpoints that can only be accessed when the correct permissions (roles) are included in the jwt. Integrating Keycloak in Spring Boot Backend

About

Simple Example for OpenId Connect using Keycloak, Spring Boot (Security) & Angular

License:Apache License 2.0


Languages

Language:TypeScript 58.8%Language:Java 23.5%Language:HTML 11.3%Language:JavaScript 5.8%Language:SCSS 0.6%