Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ All public integrations can be installed via a fixed external url: `https://sent
Public integrations generate [authentication tokens](/organization/integrations/integration-platform/#auth-tokens) after a successful [OAuth installation](#oauth-process).
These tokens automatically expire every eight hours, meaning they must be refreshed manually.

### Refreshing Tokens via Refresh Token (preferred)
### Refreshing Tokens via Refresh Token (not recommended)

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:

Expand Down Expand Up @@ -108,7 +108,7 @@ def refresh_token(install_id):
return new_token
```

### Refreshing Tokens Manually for Integrators
### Refreshing Tokens Manually for Integrators (recommended)
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.

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
Expand Down
Loading