#!/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"