Im trying to remove login page from CVAT application that I hosted on my server. I have another app running , so I want to bypass login in CVAT if I already logged in my application.
Link to cvat github repo - https://github.com/opencv/cvat
this is base.py in settings https://github.com/opencv/cvat/blob/develop/cvat/settings/base.py
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated',
'cvat.apps.iam.permissions.IsMemberInOrganization',
'cvat.apps.iam.permissions.PolicyEnforcer',
],
'DEFAULT_AUTHENTICATION_CLASSES': [
'cvat.apps.iam.authentication.TokenAuthenticationEx',
'cvat.apps.iam.authentication.SignatureAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication'
],
I tried commenting these classes. I also tried with empty Middleware. Is it possible to skip authentication or atleast automatically login with same user without showing up the login page.