Skip to content

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

License

Notifications You must be signed in to change notification settings

sneufeind/keycloak-oidc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published