Skip to content

Conversation

@Christinarlong
Copy link
Contributor

@Christinarlong Christinarlong commented Nov 3, 2025

DESCRIBE YOUR PR

Adds docs to the integration platform telling integrators how to use the new manual refresh method to refresh their installers tokens.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • [X ] Other deadline: I want to GA this feature sometime this week.
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Images

image

@vercel
Copy link

vercel bot commented Nov 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Nov 4, 2025 6:40pm
sentry-docs Ready Ready Preview Comment Nov 4, 2025 6:40pm

@codecov
Copy link

codecov bot commented Nov 3, 2025

Bundle Report

Changes will decrease total bundle size by 44.2kB (-0.19%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 10.16MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.86MB -44.19kB (-0.34%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
server/middleware-*.js 6.46kB 7.46kB 645.5% ⚠️
server/middleware-*.js -6.46kB 1.0kB -86.59%
static/ws9t1d4i1ibEr0ggpbwXn/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/ws9t1d4i1ibEr0ggpbwXn/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/16FPsz7i5-*.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
static/16FPsz7i5-*.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.74MB -0.0%
../instrumentation.js -3 bytes 1.07MB -0.0%
9523.js -3 bytes 1.04MB -0.0%
../app/[[...path]]/page.js.nft.json -14.73kB 851.24kB -1.7%
../app/platform-redirect/page.js.nft.json -14.73kB 851.15kB -1.7%
../app/sitemap.xml/route.js.nft.json -14.73kB 848.38kB -1.71%

```

### Refreshing Tokens Manually for Integrators
Sometimes incidents or other 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the sentence is fine. You can just technical anomalies, I don't think incident means the same thing everywhere.

### Refreshing Tokens Manually for Integrators
Sometimes incidents or other 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for someone not to use this every time to get a refresh token? I mean should we recommend that instead of asking them to refresh after fail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants