summaryrefslogtreecommitdiff
path: root/script/00_metadata
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2022-04-22 17:30:21 -0600
committermo khan <mo@mokhan.ca>2022-04-22 17:30:21 -0600
commit0b09e735c9733f557e1ec7138e108e8d5bd7a7f5 (patch)
treee05d88d76fd8c2be3526e0bfd379bf4bbdc2a742 /script/00_metadata
parent9fd1a9f376fb315ebbe8171aa989298fc34c66ce (diff)
rename bin to script
Diffstat (limited to 'script/00_metadata')
-rwxr-xr-xscript/00_metadata8
1 files changed, 8 insertions, 0 deletions
diff --git a/script/00_metadata b/script/00_metadata
new file mode 100755
index 0000000..7d57dad
--- /dev/null
+++ b/script/00_metadata
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+cd "$(dirname "$0")/.."
+HOST="${HOST:-http://localhost:8282}"
+
+curl -s "${HOST}/.well-known/openid-configuration" | jq '.'
+curl -s "${HOST}/.well-known/jwks.json" | jq '.'