Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curityio/undertow-pac4j-example
An example Java website that implements OAuth 2.0 and OpenID Connect using Undertow
https://github.com/curityio/undertow-pac4j-example
code-example oauth2 openid-connect undertow website
Last synced: 5 days ago
JSON representation
An example Java website that implements OAuth 2.0 and OpenID Connect using Undertow
- Host: GitHub
- URL: https://github.com/curityio/undertow-pac4j-example
- Owner: curityio
- License: apache-2.0
- Created: 2021-04-21T10:27:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T10:27:40.000Z (almost 4 years ago)
- Last Synced: 2024-12-03T11:11:59.555Z (2 months ago)
- Topics: code-example, oauth2, openid-connect, undertow, website
- Language: Java
- Homepage: https://curity.io/resources/learn/oidc-java-undertow-pac4j/
- Size: 62.5 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Java website with OIDC login
[![Quality](https://img.shields.io/badge/quality-demo-red)](https://curity.io/resources/code-examples/status/)
[![Availability](https://img.shields.io/badge/availability-source-blue)](https://curity.io/resources/code-examples/status/)This repository is an example Java application which performs an OpenID Connect login to get ID and access tokens from an
Authorization Server.## Running the example
To run the example follow these steps:
- Edit the configuration in the `Configuration` class to reflect your setup.
- Start the project by running the command `./gradlew bootRun`.
- Navigate to [http://localhost:8080](http://localhost:8080), you will be redirected to your Authorization Server to perform login.
- Once the login is complete, you will see the username and access token returned as JSON.## More information
Please visit [curity.io](https://curity.io/) for more information about the Curity Identity Server.