mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
9020eb4b17
* update oauthtoken service to use remote cache and server lock * remove token cache * retry is lock is held by an in-flight refresh * refactor token renewal to avoid race condition * re-add refresh token expiry cache, but in SyncOauthTokenHook * Add delta to the cache ttl * Fix merge * Change lockTimeConfig * Always set the token from within the server lock * Improvements * early return when user is not authed by OAuth or refresh is disabled * Allow more time for token refresh, tracing * Retry on Mysql Deadlock error 1213 * Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go Co-authored-by: Dan Cech <dcech@grafana.com> * Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go Co-authored-by: Dan Cech <dcech@grafana.com> * Add settings for configuring min wait time between retries * Add docs for the new setting * Clean up * Update docs/sources/setup-grafana/configure-grafana/_index.md Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> --------- Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> |
||
---|---|---|
.. | ||
testdata | ||
date_formats_test.go | ||
date_formats.go | ||
dynamic_settings_test.go | ||
expanders_test.go | ||
expanders.go | ||
provider.go | ||
setting_auth_proxy.go | ||
setting_azure_test.go | ||
setting_azure.go | ||
setting_cloud_migration.go | ||
setting_data_proxy.go | ||
setting_feature_toggles_test.go | ||
setting_feature_toggles.go | ||
setting_featuremgmt.go | ||
setting_grafana_javascript_agent.go | ||
setting_jwt.go | ||
setting_plugins_test.go | ||
setting_plugins.go | ||
setting_quota.go | ||
setting_search.go | ||
setting_secure_socks_proxy_test.go | ||
setting_secure_socks_proxy.go | ||
setting_session_test.go | ||
setting_smtp_test.go | ||
setting_smtp.go | ||
setting_storage.go | ||
setting_test.go | ||
setting_unified_alerting_test.go | ||
setting_unified_alerting.go | ||
setting.go | ||
settings_rbac.go | ||
settings_zanzana.go |