diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-29 11:42:22 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-29 11:42:22 -0600 |
| commit | f83a838b8093341bfd209f433b9799da835c2567 (patch) | |
| tree | 6d57380a420034cf02bc5ba02c1e6635aeced34a /bin | |
| parent | bfa9bc16b120a3f4325e3f6bb8d4da667be546d1 (diff) | |
feat: start to stub out the metadata endpoint
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/test | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |
