Web client to test OIDC authentication
Go to file
Pierre Hubert 3301018b48
All checks were successful
continuous-integration/drone/push Build is passing
Merge pull request 'Update Rust crate clap to 4.3.0' (#9) from renovate/clap-4.x into master
Reviewed-on: #9
2023-05-23 11:37:52 +00:00
assets Use light-openid to reduce code base size (#4) 2023-04-29 08:03:11 +00:00
src Use actix-remote-ip to reduce code base size (#5) 2023-04-29 09:08:18 +00:00
templates Use actix-remote-ip to reduce code base size (#5) 2023-04-29 09:08:18 +00:00
.drone.yml Add base configuration (#1) 2023-04-27 15:51:07 +00:00
.gitignore Initial commit 2023-04-27 17:28:26 +02:00
build_docker_image.sh Build docker image 2023-04-28 09:20:26 +02:00
Cargo.lock Update Rust crate clap to 4.3.0 2023-05-23 09:50:28 +00:00
Cargo.toml Update Rust crate clap to 4.3.0 2023-05-23 09:50:28 +00:00
Dockerfile Build docker image 2023-04-28 09:20:26 +02:00
LICENSE Add README & License (#6) 2023-04-29 09:44:08 +00:00
README.md Add README & License (#6) 2023-04-29 09:44:08 +00:00
renovate.json Add renovate.json 2023-04-28 00:23:15 +00:00

OpenID Test client

Build Status

Test application of OpenID authentication flow, built using the Rust programming language.

Run with docker

docker run --env CONFIGURATION_URL=<OIDC_DISCOVERY_URL> --env CLIENT_ID=<CLIENT_ID> --env CLIENT_SECRET=<CLIENT_SECRET> -ti -p 7510:7510 pierre42100/oidc_test_client 

For example:

docker run --env CONFIGURATION_URL=http://192.168.2.103.nip.io:8000/.well-known/openid-configuration --env CLIENT_ID=testclient --env CLIENT_SECRET=clisec -ti -p 7510:7510 pierre42100/oidc_test_client

Then go to http://localhost:7510/ to try it out

Run without docker

cargo run -- -c <OIDC_DISCOVERY_URL> --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET>

For example:

cargo run -- -c http://192.168.2.103.nip.io:8000/.well-known/openid-configuration --client-id testclient --client-secret clisec