You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/organization/integrations/integration-platform/public-integration.mdx
+45-1Lines changed: 45 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ All public integrations can be installed via a fixed external url: `https://sent
66
66
Public integrations generate [authentication tokens](/organization/integrations/integration-platform/#auth-tokens) after a successful [OAuth installation](#oauth-process).
67
67
These tokens automatically expire every eight hours, meaning they must be refreshed manually.
68
68
69
-
### Refreshing Tokens
69
+
### Refreshing Tokens via Refresh Token (preferred)
70
70
71
71
In the initial installation, you'll need the grant code given to you in either the installation webhook request or the redirect URL, in addition to your integration's client ID and client Secret:
Sometimes technical anomalies can lead to token refreshing being committed on the Sentry side but then the token is lost in transmission on the way back. As a result, we've added a method for integrators to explicitly refresh and request a new token for their installers.
113
+
114
+
This manual refresh method uses a different authorization scheme where you will need to send a JWT signed with your client secret to the previous
115
+
`/api/0/sentry-app-installations/{}/authorizations/` endpoint with the below claims and payload.
0 commit comments