Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thomasvitale/securing-java-apps-oauth2-oidc-spring-security


https://github.com/thomasvitale/securing-java-apps-oauth2-oidc-spring-security

keycloak oauth2 oidc redis security spring-boot spring-cloud-gateway spring-security

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

# Securing Java applications with OAuth2 and OIDC using Spring Security

Source code and examples from my presentation.

## Prerequisites

To run all the examples, you need to install the following tools:

* [Java 17](https://adoptium.net)
* [Docker](https://www.docker.com)

## Usage

The sample applications rely on Redis, Keycloak, and an Angular SPA. You can run them as containers with the following command:

```shell
$ docker-compose up -d
```

Both Spring Boot applications can be run locally with this command:

```shell
$ ./gradlew bootRun
```