summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-29 11:42:22 -0600
committermo khan <mo@mokhan.ca>2025-05-29 11:42:22 -0600
commitf83a838b8093341bfd209f433b9799da835c2567 (patch)
tree6d57380a420034cf02bc5ba02c1e6635aeced34a /bin
parentbfa9bc16b120a3f4325e3f6bb8d4da667be546d1 (diff)
feat: start to stub out the metadata endpoint
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/test b/bin/test
index 12dde30..9d67fc7 100755
--- a/bin/test
+++ b/bin/test
@@ -33,5 +33,23 @@ class ServerTest < Minitest::Test
response = client.get(base_url + "/404")
assert_equal "404", response.code
end
+
+ # /.well-known/oauth-authorization-server https://datatracker.ietf.org/doc/html/rfc8414#section-3.1
+ def test_metadata
+ response = client.get(base_url + "/.well-known/oauth-authorization-server")
+ assert_equal "200", response.code
+ end
+
+ # /token - Token endpoint https://datatracker.ietf.org/doc/html/rfc8693#section-2.3
+ def test_token
+ end
+
+ # /introspect - Token introspection https://datatracker.ietf.org/doc/html/rfc7662#section-2
+ def test_introspect
+ end
+
+ # /revoke - Token revocation # https://datatracker.ietf.org/doc/html/rfc7009#section-2.1
+ def test_revoke
+ end
end