Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdiprima/spring-boot-keycloak
Spring Boot and Keycloak with OIDC
https://github.com/tdiprima/spring-boot-keycloak
keycloak oauth2 oidc spring-boot
Last synced: 21 days ago
JSON representation
Spring Boot and Keycloak with OIDC
- Host: GitHub
- URL: https://github.com/tdiprima/spring-boot-keycloak
- Owner: tdiprima
- Created: 2024-05-20T20:41:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-23T15:42:55.000Z (24 days ago)
- Last Synced: 2024-12-23T16:36:56.012Z (24 days ago)
- Topics: keycloak, oauth2, oidc, spring-boot
- Language: Java
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot and Keycloak with OIDC
## Start Keycloak
Make sure Keycloak is running first
```sh
bin/kc.sh start-dev
```## Start Spring Application
Run `SpringBootKeycloakApplication`
Or:
```sh
mvn clean install
java -jar target/spring-boot-keycloak-0.0.1.jar
```## Usage
* Navigate to http://localhost:8081
* Login with credentials
* It will redirect you to a welcome screen