Skip to content

Commit 110123d

Browse files
chore(sentry apps): reccomend using manual refresher (#15744)
1 parent 41be196 commit 110123d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ All public integrations can be installed via a fixed external url: `https://sent
6666
Public integrations generate [authentication tokens](/organization/integrations/integration-platform/#auth-tokens) after a successful [OAuth installation](#oauth-process).
6767
These tokens automatically expire every eight hours, meaning they must be refreshed manually.
6868

69-
### Refreshing Tokens via Refresh Token (preferred)
69+
### Refreshing Tokens via Refresh Token (not recommended)
7070

7171
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:
7272

@@ -108,7 +108,7 @@ def refresh_token(install_id):
108108
return new_token
109109
```
110110

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

114114
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

0 commit comments

Comments
 (0)