https://github.com/cesnet/demo-oidc-rp-localhost
OIDC Relying Party Demo on localhost
https://github.com/cesnet/demo-oidc-rp-localhost
Last synced: about 2 months ago
JSON representation
OIDC Relying Party Demo on localhost
- Host: GitHub
- URL: https://github.com/cesnet/demo-oidc-rp-localhost
- Owner: CESNET
- License: apache-2.0
- Created: 2025-05-23T14:12:18.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-06-19T07:41:09.000Z (9 months ago)
- Last Synced: 2025-07-09T05:43:51.181Z (9 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OIDC Relying Party Demo on localhost
This repo contains a demo application for the lecture "Perun AAI for service administrators". See the lecture slides and video at [wiki](https://github.com/CESNET/demo-oidc-rp-localhost/wiki).
Prerequisites:
- Docker
- unused TCP port 8080
Get code:
```bash
git clone https://github.com/CESNET/demo-oidc-rp-localhost.git
cd demo-oidc-rp-localhost/apache
```
Build Docker image with Apache HTTPD and mod_auth_openidc:
```bash
docker build -t demo-oidc-rp-localhost:latest .
```
Run the image as container:
```bash
docker run -it --rm -p 8080:8080 demo-oidc-rp-localhost:latest
```
Visit http://localhost:8080/ for the demo.
For changes, modify the file [000-default.conf](apache/000-default.conf), rebuild image and re-create container.
Links to documentation:
* [Implementing Service Provider](https://perunaai.atlassian.net/wiki/spaces/EINFRACZ/pages/7929901/Implementing+service+provider) (Perun AAI docs)
* mod_auth_openidc directives in [auth_openidc.conf](https://github.com/OpenIDC/mod_auth_openidc/blob/master/auth_openidc.conf)
* [mod_auth_openidc Authorization](https://github.com/OpenIDC/mod_auth_openidc/wiki/Authorization)
* [mod_authz_core](https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html)
* [Dockerfile overview](https://docs.docker.com/build/concepts/dockerfile/)