Uh oh!
There was an error while loading. Please reload this page.
[stable24] invalidate existing tokens when deleting an oauth client - #35094
Conversation
szaimen
commented
Nov 12, 2022
/backport to master |
szaimen
commented
Nov 12, 2022
/backport to stable25 |
9db7278 to
6e6978bComparecome-nc
commented
Nov 15, 2022
Things in |
individual-it
commented
Nov 15, 2022
@come-nc I could not find anything in OCP that would do the job. |
individual-it
commented
Nov 15, 2022
I believe the last test that is failing is not relevant to the code changes |
nickvergessen
commented
Nov 17, 2022
Notification is only additional. Not every authtoken has a pushhash entry (only the ones from devices that register for push afterwards). It is also self healing, stray entries from oc_notifications_pushhash are deleted on first push after oc_authtoken got deleted. So ignore that part. It's never used for authentication and basically only in another table to not bloat the oc_authtoken table with columns that are notification app specific.
I would welcome that. Also the current IToken interface does not have all columns, so apps need to even type hint to an actual implementation. |
come-nc
commented
Nov 21, 2022
|
individual-it
commented
Nov 22, 2022
@come-nc sorry I pushed that commit yesterday just before going home from work, I know the unit tests need to be fixed / adjusted. I will try to do that today |
3ea6e54 to
c834874Compare(from drone CI, all the other tests passed without error) |
individual-it
commented
Nov 22, 2022
come-nc
commented
Nov 22, 2022
individual-it
commented
Nov 23, 2022
yes I believe the last failing test is not related to my changes |
szaimen
commented
Nov 24, 2022
This is missing one approval... |
blizzz
commented
Nov 29, 2022
moving to 24.0.9 |
PVince81
commented
Dec 20, 2022
/rebase |
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
63fedca to
c001c4bCompareThe backport to master failed. Please do this backport manually. |
The backport to stable25 failed. Please do this backport manually. |
When an oauth client is deleted all the existing tokens should be invalidated
fixes#35068
I've created a PR to
stable24and notmasterbecause of #35045 that makes it harder to test the fix