summaryrefslogtreecommitdiff
path: root/src/oidc/bin/01_authz_code
diff options
context:
space:
mode:
Diffstat (limited to 'src/oidc/bin/01_authz_code')
-rwxr-xr-xsrc/oidc/bin/01_authz_code3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/oidc/bin/01_authz_code b/src/oidc/bin/01_authz_code
index a3fadd4..3f6c44b 100755
--- a/src/oidc/bin/01_authz_code
+++ b/src/oidc/bin/01_authz_code
@@ -2,5 +2,6 @@
set -e
cd "$(dirname "$0")/.."
+HOST="${HOST:-http://localhost:8282}"
-curl -s "http://localhost:8282/authorize?response_type=code&scope=openid&client_id=f00d&state=potatoe&redirect_uri=http://example.org/callback"
+curl -s "${HOST}/authorize?response_type=code&scope=openid&client_id=client_id&state=potatoe&redirect_uri=http://example.org/callback"