Oauth update #593

Merged
mpeltriaux merged 4 commits from oauth_update into master 2026-10-06 11:57:36 +02:00
Owner

Updates OAuth2.0 client side implementation by moving to python's authlib package.

Updates OAuth2.0 client side implementation by moving to python's `authlib` package.
mpeltriaux added 3 commits 2026-10-06 11:51:17 +02:00
* integrates authlib into project
* adds authlib package to requirements.txt
* refactors internal konova/utils/generators/generate_token method to use authlib's generate_token method and act as wrapper for backwards compatibility
* refactors OAuth views to be based on authlib's oauth client implementation
* refactors oauth model to work with authlib's oauth2 tokens
* drops unused env OATUH_CODE_VERIFIER
* refactors revocation of oauth2 tokens by adding revocation of access_tokens which will result in automatic removal on sso portal side
* drops unused return statement on same method
* adds assertions for correct revocation responses
mpeltriaux added 1 commit 2026-10-06 11:56:12 +02:00
* adds deletion of oauth token stored on konova db on user logout
mpeltriaux merged commit 0533083b17 into master 2026-10-06 11:57:36 +02:00
Sign in to join this conversation.