summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/idp1
1 files changed, 1 insertions, 0 deletions
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)
})]]