summaryrefslogtreecommitdiff
path: root/src/oidc/bin/01_authz_code
blob: 3f6c44be2492764b2cf14fafc0cf7cd255f607cb (plain)
1
2
3
4
5
6
7
#!/bin/sh

set -e
cd "$(dirname "$0")/.."
HOST="${HOST:-http://localhost:8282}"

curl -s "${HOST}/authorize?response_type=code&scope=openid&client_id=client_id&state=potatoe&redirect_uri=http://example.org/callback"