-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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: Removes send_client_credentials_via_post setting #20044
Conversation
Signed-off-by: Alexander Morozov <[email protected]>
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.
LGTM
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.
LGTM
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.
Should add deprecation note for this section in docs: https://github.com/grafana/grafana/blob/master/docs/sources/auth/generic-oauth.md#set-up-oauth2-with-non-compliant-providers
Add deprecation notes:
https://github.com/grafana/grafana/blob/master/conf/defaults.ini#L383
https://github.com/grafana/grafana/blob/master/conf/sample.ini#L340
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.
Should add deprecation note for this section in docs: https://github.com/grafana/grafana/blob/master/docs/sources/auth/generic-oauth.md#set-up-oauth2-with-non-compliant-providers
Add deprecation notes:
https://github.com/grafana/grafana/blob/master/conf/defaults.ini#L383
https://github.com/grafana/grafana/blob/master/conf/sample.ini#L340
This pull request has been automatically marked as stale because it has not had activity in the last 2 weeks. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Will push some changes |
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.
I suggested some doc improvements.
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.
LGTM
Doc changes look good. |
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.
LGTM
@LK4D4 Thank you for contributing to Grafana! |
Thanks for figuring that out :) Sorry I didn't have time to do it myself. |
Removes send_client_credentials_via_post oauth setting and use auto-detect mechanism instead. By these changes also fixes statichcheck errors Ref grafana#8968
Removes send_client_credentials_via_post oauth setting and use auto-detect mechanism instead. By these changes also fixes statichcheck errors Ref grafana#8968
What this PR does / why we need it:
Fixes old staticcheck issues
Which issue(s) this PR fixes:
Not entirely but #8968