This commit is contained in:
parent
c13992e109
commit
58eaac2caa
16
README.md
16
README.md
@ -42,5 +42,21 @@ You will need the Rust toolchain to compile this project. To build it for produc
|
|||||||
cargo build --release
|
cargo build --release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Testing with OAauth proxy
|
||||||
|
If you want to test the solution with OAuth proxy, you can try to adapt the following command (considering `192.168.2.103` is your local IP address):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run --rm -p 4180:4180 quay.io/oauth2-proxy/oauth2-proxy:latest --provider=oidc --email-domain=* --client-id=oauthproxy --client-secret=secretoauth --cookie-secret=SECRETCOOKIE1234 --oidc-issuer-url=http://192.168.2.103.nip.io:8000 --http-address 0.0.0.0:4180 --upstream http://192.168.2.103 --redirect-url http://192.168.2.103:4180/oauth2/callback --cookie-secure=false
|
||||||
|
```
|
||||||
|
|
||||||
|
Corresponding client configuration:
|
||||||
|
```yaml
|
||||||
|
- id: oauthproxy
|
||||||
|
name: Oauth proxy
|
||||||
|
description: oauth proxy
|
||||||
|
secret: secretoauth
|
||||||
|
redirect_uri: http://192.168.2.103:4180/
|
||||||
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
If you wish to contribute to this software, feel free to send an email to contact@communiquons.org to get an account on my system, managed by BasicOIDC :)
|
If you wish to contribute to this software, feel free to send an email to contact@communiquons.org to get an account on my system, managed by BasicOIDC :)
|
||||||
|
Loading…
Reference in New Issue
Block a user