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 ecf6789 commit 2fce210Copy full SHA for 2fce210
docs/organization/integrations/integration-platform/public-integration.mdx
@@ -133,15 +133,15 @@ def manual_token_refresh(install_id):
133
'jti': str(uuid.uuid4()),
134
}
135
jwt_token = jwt.encode(claims, client_secret, algorithm="HS256")
136
+
137
headers = {
138
'Authorization': f'Bearer {jwt_token}',
139
'Content-Type': 'application/json'
- }
140
-
141
+ }
142
payload = {
143
'grant_type': 'urn:sentry:params:oauth:grant-type:jwt-bearer',
144
145
resp = requests.post(url, json=payload, headers=headers)
146
data = resp.json()
147
0 commit comments