Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simevo/apache2-oidc-sso
Proof-of-concept integration of Apache2 with external SSO using Open ID Connect.
https://github.com/simevo/apache2-oidc-sso
Last synced: 13 days ago
JSON representation
Proof-of-concept integration of Apache2 with external SSO using Open ID Connect.
- Host: GitHub
- URL: https://github.com/simevo/apache2-oidc-sso
- Owner: simevo
- Created: 2023-09-07T12:16:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-07T12:17:34.000Z (over 1 year ago)
- Last Synced: 2024-11-09T15:20:58.751Z (2 months ago)
- Language: HTML
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
apache2-oidc-sso
================Proof-of-concept integration of Apache2 with external SSO using Open ID Connect.
This demo is set up to work with Google Open ID, but it should be possible to make it work with [SPID/CIE OpenID Connect](https://docs.italia.it/italia/spid/spid-cie-oidc-docs/it/versione-corrente/index.html).
## Set-up
1. Create the OAuth 2.0 Client IDs in the Google API console: https://console.cloud.google.com/apis/credentials; make sure you add https://localhost:8443 to **Authorized JavaScript origins** and https://localhost:8443/private/redirect_uri to **Authorized redirect URIs**
2. Copy-paste your **Client ID** to `OIDCClientID` and your **Client secret** to `OIDCClientSecret` in the `httpd/httpd-ssl.conf` file
3. Start the local service on your workstation with this command (requires docker and docker-compose):
docker-compose up
4. Open the webapp at: https://localhost:8443, accept the unsecure SSL cert, and click on the "Go to the private page" link to start the login flow.
## References
- https://hub.docker.com/_/httpd
- https://stackoverflow.com/a/69500324
- https://github.com/OpenIDC/mod_auth_openidc