Public integration: Installation uuid, id inconsistency

Hello, I’m Phat, I’m building an Public Integration. I tried to use “redirect-url”, after user installed the app, Sentry will redirect to my endpoint with queryParams:

{
code: “…”,
installationId: “e286a731-e10a-4771-ae84-9977d08d7352”
}

I saved all these info into database. Each time I want to refresh token, it’s working by using installationId too.

Each time I received issues, events via webhook, Sentry send to me:
{
installation:
{
uuid: “bc9c342c-3d31-4583-9682-465cc8b782e6”
}
}
It’s using uuid, instead of id. I can not get right access token for right webhook event to go further.

I tried to use webhook to handle installation created event(I remove redirect url oauth in config). But I didn’t receive any webhook of installation created event. I did receive the installation deleted event.

Could you help me to get oauth flow done right? Thank a lot.

I wonder how devs can build new integration app in Sentry Integration Platform.

2 Likes