-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth: Remove accessTokenExpirationCheck feature toggle #79455
Conversation
docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md
Outdated
Show resolved
Hide resolved
docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md
Outdated
Show resolved
Hide resolved
docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md
Outdated
Show resolved
Hide resolved
docs/sources/setup-grafana/configure-security/configure-authentication/keycloak/index.md
Outdated
Show resolved
Hide resolved
docs/sources/setup-grafana/configure-security/configure-authentication/okta/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code part looks good to me.
One suggestion would to cache the check here https://github.com/grafana/grafana/blob/main/pkg/services/authn/authnimpl/sync/oauth_token_sync.go#L66. So we are not doing additonal database call for every request but that can be done in a followup pr
lwandz13 is OOO and Chris (from the docs team) has already approved it
…token-exp-check-ft
What is this feature?
This PR removes the
accessTokenExpirationCheck
feature toggle completely. The access token expiration check + refresh token fetching can be enabled in the OAuth provider settings using the previously introduced (v10.2)use_refresh_token
config.Why do we need this feature?
Who is this feature for?
Which issue(s) does this PR fix?:
Fixes #
Special notes for your reviewer:
Please check that: