Oauth update #593

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

4 Commits

Author SHA1 Message Date
mpeltriaux da5def5d6f # OAuth Token removal
* adds deletion of oauth token stored on konova db on user logout
2026-10-06 11:55:37 +02:00
mpeltriaux cc0f4007f3 # Extended revocation
* 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
2026-10-06 11:44:56 +02:00
mpeltriaux 87aea5e19b # OAUTH_CODE_VERIFIER
* drops unused env OATUH_CODE_VERIFIER
2026-10-06 11:29:03 +02:00
mpeltriaux e3d5ee82ee # OAuth2 update
* 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
2026-10-06 11:27:50 +02:00