From de1cf9c5f0af903a1b2e80f3ba35b21167d6f53c Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 10 Mar 2025 19:11:44 -0600 Subject: test: use golang oauth client to test IdP --- bin/idp | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/idp b/bin/idp index 5dba984..8d9529a 100755 --- a/bin/idp +++ b/bin/idp @@ -170,6 +170,7 @@ class IdentityProvider return [200, { 'Content-Type' => "application/json" }, [JSON.pretty_generate({ access_token: JWT.new(sub: SecureRandom.uuid, iat: Time.now.to_i).to_jwt, token_type: "Bearer", + issued_token_type: "urn:ietf:params:oauth:token-type:access_token", expires_in: 3600, refresh_token: SecureRandom.hex(32) })]] -- cgit v1.2.3