Open mumarkhan999 opened 1 year ago
Note: We may need a communication plan around this in case any teams like Enterprise, etc., rely on having access in the database, and may need time to transfer credentials to a password manager like Keeper. Also, we should certainly mention this on https://openedx.atlassian.net/wiki/spaces/COMM/pages/3726802953/Next+Release+Quince.
While unpinning DOT
from version 1.3.2
we had to face some issues. I'm mentioning my findings here so that when we proceed with the further upgrade, we are already aware of those issues.
db
tables against this package have millions
of records in the Prod database. So in future upgrades, if we have any migrations to apply, there would certainly be a downtime for the site as these tables will be locked. DOT is related to user logins so the site will be unfunctional when the migrations are applied.Prod replica
. But when the changes were actually deployed, the downtime
reached upto 20-23
minutes.select count(*) from oauth2_provider_application;
count(*) |
---|
740 |
mysql> select count(*) from oauth2_provider_accesstoken;
count(*) |
---|
20552959 |
select count(*) from oauth2_provider_grant;
count(*) |
---|
25264 |
Is this in active development?
@katebygrace:
No, this issue will be picked after Django42
and MySQL8
upgrade.
Got it, thank you! Where is the Django42 work tracked? (I know where the mysql8 upgrade is)
Thank you!!
Description
django-oauth-toolkit
to the latest1.x.x
version.2.x.x
version.Blocker
2.0.0
,django-oauth-toolkit
is saving theclient-secret
as a hashed value instead of plain text. https://django-oauth-toolkit.readthedocs.io/en/latest/changelog.html#id12:~:text=%231093%20(Breaking,before%20hitting%20Save