We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c56a3f commit ecf6789Copy full SHA for ecf6789
docs/organization/integrations/integration-platform/public-integration.mdx
@@ -130,10 +130,14 @@ def manual_token_refresh(install_id):
130
'sub': client_id,
131
'iat': iat,
132
'exp': exp,
133
- 'jti': uuid.uuid4(),
+ 'jti': str(uuid.uuid4()),
134
}
135
jwt_token = jwt.encode(claims, client_secret, algorithm="HS256")
136
- headers = jwt.authorization_header(jwt_token)
+ headers = {
137
+ 'Authorization': f'Bearer {jwt_token}',
138
+ 'Content-Type': 'application/json'
139
+ }
140
+
141
142
payload = {
143
'grant_type': 'urn:sentry:params:oauth:grant-type:jwt-bearer',
0 commit comments