getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.05k stars 4.19k forks source link

Installation grant code is not provided during oAuth #74427

Open phroggyy opened 3 months ago

phroggyy commented 3 months ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Auth via API.

(we also received 403s when attempting to refresh access tokens using the provided refresh token).

Same as https://github.com/getsentry/sentry/issues/71440

Expected Result

We get a grantcode

Actual Result

We are not getting the grant code back in the payload when we are requesting auth via oAuth.

Product Area

APIs

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 3 months ago

Assigning to @getsentry/support for routing ⏲️

phroggyy commented 3 months ago

Following up on this - we now appear to be receiving the grant code. However, this happened in the first place due to expired refresh tokens.

Would love some context on why some refresh tokens had been expired (our Sentry app was still installed in affected customers' Sentry orgs)

getsantry[bot] commented 3 months ago

Routing to @getsentry/product-owners-apis for triage ⏲️

leedongwei commented 3 months ago

That's odd. I'll try to schedule engineering time to investigate this.