-
-
Notifications
You must be signed in to change notification settings - Fork 801
change token to TextField in AbstractAccessToken model #1447
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
Conversation
@n2ygk please review and let me know if anything needs to change |
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.
Thanks for this!
I made a small wording change to the CHANGELOG to make it more clear why this change is useful.
I also have a question about whether a swappable dependency is needed. I always have trouble understanding how exactly these migrations are supposed to work with swappable models and would like someone else from @jazzband/django-oauth-toolkit to further review this.
- add TokenChecksumField field - update middleware, validators, and views to use token checksums for token retrieval and validation - modified test migrations to include token_checksum field in "sampleaccesstoken" model - add test for token checksum field
Co-authored-by: Alan Crosswell <[email protected]>
for more information, see https://pre-commit.ci
0adb025
to
68e7f9b
Compare
@dopry since I see you are actively looking at DOT right now, would you mind reviewing this PR please? |
oops my rebase messed up the migrations. will fix it. |
I'm embarrassed to say I've made yet another error. This time I'm running tox locally before pushing! |
Fixes #1412
Description of the Change
Checklist
CHANGELOG.md
updated (only for user relevant changes)AUTHORS