https://github.com/openconext/openconext-oidc-client
OpenID Connect library for Java apps acting as relying parties.
https://github.com/openconext/openconext-oidc-client
Last synced: about 1 year ago
JSON representation
OpenID Connect library for Java apps acting as relying parties.
- Host: GitHub
- URL: https://github.com/openconext/openconext-oidc-client
- Owner: OpenConext
- License: apache-2.0
- Created: 2024-11-13T08:46:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-10T14:30:15.000Z (over 1 year ago)
- Last Synced: 2025-01-10T15:38:17.260Z (over 1 year ago)
- Language: Java
- Size: 28.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# openconext-oidc-client
OpenID Connect library for Java apps acting as Relying Party. This repo contains two projects, the actual library for
securing a Spring Boot application with OpenID Connect and an example server application for reference purposes.
## [Getting started](#getting-started)
### [System Requirements](#system-requirements)
- Java 21
- Maven 3
First install Java 21 with a package manager
and then export the correct the `JAVA_HOME`. For example on macOS:
```bash
export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-21.jdk/Contents/Home/
```
### [Building and running](#building-and-running)
This project uses Spring Boot and Maven. To run locally, type:
```bash
cd ./client-lib
mvn clean install
cd ../example-server
mvn spring-boot:run
```
If you visit http://localhost:8881/api/v1/users/me you will be redirected to login.