Skip to content

Conversation

@lrq315
Copy link
Contributor

@lrq315 lrq315 commented Dec 15, 2025

Fixes #1628

Description of the Change

  • Corrected the help text for the client_secret field. The previous description (“Hashed on Save”) was inaccurate because hashing is only performed when hash_client_secret is True.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS
  • tests/app/idp updated to demonstrate new features
  • tests/app/rp updated to demonstrate new features

@lrq315 lrq315 force-pushed the bug/1628/client_secret_help_text branch from 18047ab to b7273a7 Compare December 16, 2025 02:55
@lrq315 lrq315 changed the title WIP: chore: dynamic help_text for client_secret chore: dynamic help_text for client_secret Dec 16, 2025
@lrq315 lrq315 marked this pull request as ready for review December 16, 2025 04:07
@n2ygk
Copy link
Contributor

n2ygk commented Dec 16, 2025

Wow, that's a lot of changes. @dopry are you OK with this much code change to implement this relatively minor UI fix?

Also please wait on #1631 to be merged and rebase to resolve the failed 3.14 test.

@n2ygk n2ygk requested a review from dopry December 16, 2025 17:54
@lrq315
Copy link
Contributor Author

lrq315 commented Dec 17, 2025

Sorry—looking back, it does seem that the changes may have been a bit over-scoped. I should have checked with you on the scope in advance. Please feel free to let me revert the form changes and just update the text directly.

As for the other E2E test IdP mitigations, I think they might still be helpful for others.

@dopry
Copy link
Member

dopry commented Jan 9, 2026

@lrq315 there is too much out of scope work in this PR. Per the checklist PR only contains one change (considered splitting up PR) please split up the PR into consumable chunks that are easy to validate for use.

@lrq315 lrq315 force-pushed the bug/1628/client_secret_help_text branch from 3507511 to 8a57b6d Compare January 10, 2026 06:53
@lrq315 lrq315 changed the title chore: dynamic help_text for client_secret chore: update help_text for client_secret Jan 10, 2026
@lrq315
Copy link
Contributor Author

lrq315 commented Jan 10, 2026

Hello @dopry, thanks for the suggestion — I’ve updated the PR to include only the text changes now. Could you please help review? Other formatting changes are handled by pre-commit. I will raise new issues and related PRs later.

update: #1634 #1635

I personally think the current PR should be released together with #1635

@dopry dopry merged commit d759a8b into django-oauth:master Jan 10, 2026
25 checks passed
@codecov
Copy link

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

Nit: Inaccurate help_text on client_secret field of AbstractApplication model

3 participants