diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-10 19:11:44 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-10 19:11:44 -0600 |
| commit | de1cf9c5f0af903a1b2e80f3ba35b21167d6f53c (patch) | |
| tree | cb216844f36326dee14328d42c3b1f060f7329a3 /bin/idp | |
| parent | 2a9b689a0775a2ce831dc08c73fc0959fe3f9e83 (diff) | |
test: use golang oauth client to test IdP
Diffstat (limited to 'bin/idp')
| -rwxr-xr-x | bin/idp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) })]] |
