Skip to content

Commit 2fce210

Browse files
update headers
1 parent ecf6789 commit 2fce210

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/organization/integrations/integration-platform/public-integration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ def manual_token_refresh(install_id):
133133
'jti': str(uuid.uuid4()),
134134
}
135135
jwt_token = jwt.encode(claims, client_secret, algorithm="HS256")
136+
136137
headers = {
137138
'Authorization': f'Bearer {jwt_token}',
138139
'Content-Type': 'application/json'
139-
}
140-
141-
140+
}
142141
payload = {
143142
'grant_type': 'urn:sentry:params:oauth:grant-type:jwt-bearer',
144143
}
144+
145145
resp = requests.post(url, json=payload, headers=headers)
146146
data = resp.json()
147147

0 commit comments

Comments
 (0)