Cleaning up of hydra_oauth2_code
table
#3376
Unanswered
jamiec-w3w
asked this question in
Q&A
Replies: 1 comment
-
Hi @jamiec-w3w A lot has changed with Hydra v2 in terms of the database tables and I believe it should be possible to cascade delete this as well 🤔. Please take a look at this discussion #2556 We also have an issue regarding this #2514 and I think since v2 has been released this should be easier to implement. wdyt? @aeneasr |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using hydra in production and noticed that there is no ability for
janitor
to clean up thehydra_oauth2_code
table. We are currently at a 117GB table size and about 65 million rows, of which approx 1000 meet the conditionactive=1
. Is there a particular reason forjanitor
not being given functionality? And as a remedy - what is the scope if we were to significantly truncate the table?We think that users that have asked for an Access Token, but haven't yet exchanged the
authorization code
for said token may have an issue, but we do not think any existing users will be affected - is this correct, or are there side effects we haven't considered?Beta Was this translation helpful? Give feedback.
All reactions