Skip to content

Improve settings documentation #1567

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

Merged
merged 1 commit into from
Apr 18, 2025
Merged

Improve settings documentation #1567

merged 1 commit into from
Apr 18, 2025

Conversation

brianhelba
Copy link
Contributor

Description of the Change

Previously, it was unclear that the swappable model settings should always be set without a namespace, as the sub-section titles didn't include the required OAUTH2_PROVIDER_ prefix. The warning at the top may not be noticed by people looking for a specific settings, and it was still unclear given the sub-section titles.

Additionally, this documents the OAUTH2_PROVIDER_ID_TOKEN_MODEL and OAUTH2_PROVIDER_GRANT_MODEL settings, which were previously undocumented.

Also, this corrects a mistake where ACCESS_TOKEN_GENERATOR was mentioned as the setting which enables the use of SettingsScopes; the actual setting is SCOPES_BACKEND_CLASS.

Previously, it was unclear that the swappable model settings
should always be set without a namespace, as the sub-section
titles didn't include the required `OAUTH2_PROVIDER_` prefix.
The warning at the top may not be noticed by people looking for
a specific settings, and it was still unclear given the sub-section
titles.

Additionally, this documents the
`OAUTH2_PROVIDER_ID_TOKEN_MODEL` and
`OAUTH2_PROVIDER_GRANT_MODEL` settings, which
were previously undocumented.

Also, this corrects a mistake where `ACCESS_TOKEN_GENERATOR` was
mentioned as the setting which enables the use of `SettingsScopes`; the
actual setting is `SCOPES_BACKEND_CLASS`.
Copy link

codecov bot commented Apr 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.19%. Comparing base (839952f) to head (4a9ffa1).
Report is 11 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1567      +/-   ##
==========================================
- Coverage   97.38%   97.19%   -0.19%     
==========================================
  Files          34       34              
  Lines        2214     2214              
==========================================
- Hits         2156     2152       -4     
- Misses         58       62       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brianhelba brianhelba requested a review from n2ygk April 18, 2025 17:27
Copy link
Contributor

@n2ygk n2ygk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@n2ygk n2ygk merged commit b63c576 into master Apr 18, 2025
37 of 38 checks passed
@brianhelba brianhelba deleted the settings-docs branch April 18, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants