You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After an oAuth client is deleted in NC the tokens that it has given out are still valid and can be used for authentication
We have encountered this issue while developing the OpenProject integration app
The only workaround we have found is to get all tokens of a oauth client before deleting it and invalidate them one by one: nextcloud/integration_openproject#261 but IMO it would be better if that would happen automatically when the client gets deleted
Steps to reproduce
create an oauth client
connect to NC using that oauth client
delete the oauth client
try to use the issued tokens to connect to NC
Expected behavior
tokens should be invalidated
Installation method
No response
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
when deleting the oauth client the tokens get deleted from oc_oauth2_access_tokens but there are still present in oc_authtoken and it looks to me that is where the real authentication happens
Bug description
After an oAuth client is deleted in NC the tokens that it has given out are still valid and can be used for authentication
We have encountered this issue while developing the OpenProject integration app
The only workaround we have found is to get all tokens of a oauth client before deleting it and invalidate them one by one: nextcloud/integration_openproject#261 but IMO it would be better if that would happen automatically when the client gets deleted
Steps to reproduce
Expected behavior
tokens should be invalidated
Installation method
No response
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: