Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thomasvitale/securing-java-apps-oauth2-oidc-spring-security
- Owner: ThomasVitale
- License: apache-2.0
- Created: 2022-10-12T16:55:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-13T09:12:42.000Z (about 2 years ago)
- Last Synced: 2024-10-27T23:38:48.653Z (2 months ago)
- Topics: keycloak, oauth2, oidc, redis, security, spring-boot, spring-cloud-gateway, spring-security
- Language: Java
- Homepage:
- Size: 109 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```