oncall-engine/engine/apps/auth_token
Matias Bordese cc63ec3141
fix: return a throttled response if org is being synced for the first time during auth (#5374)
Related to https://github.com/grafana/oncall-private/issues/2826

When Terraform triggers multiple requests and org needs to be synced in
OnCall, the first request will wait for sync to complete but others will
get an immediate response, before a 403, with these changes a 429
indicating to retry (Terraform
[client](https://github.com/grafana/amixr-api-go-client/blob/main/client.go#L310)
will handle the response and perform a retry).
2024-12-19 11:17:08 +00:00
..
grafana feat: add service account checks in plugin auth (#5305) 2024-11-28 19:03:07 +00:00
migrations Enable service account token auth for public API (#5254) 2024-11-19 12:52:23 +00:00
models feat: update service account auth not to require rbac enabled org (#5360) 2024-12-12 22:11:59 +00:00
tests fix: return a throttled response if org is being synced for the first time during auth (#5374) 2024-12-19 11:17:08 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth.py fix: return a throttled response if org is being synced for the first time during auth (#5374) 2024-12-19 11:17:08 +00:00
constants.py Google OAuth2 flow + fetch Google Calendar OOO events (#4067) 2024-04-02 14:59:03 -04:00
crypto.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
exceptions.py Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00