You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ddx-day 0f0913c138
Django social account sso (#5059)
Issue: https://github.com/opencv/cvat/issues/1217

Currently there are a few proposals for SSO authentication to bypass the
current user/password login on the UI. By using Django social accounts
it is also possible to use SSO on the API, retrieving the security token
by passing the code from the OAuth2 workflow. This is an example using
Amazon Cognito, but any other social account could also be added.

### Motivation and context
Currently CVAT has no functionality to log in with SSO. Other current
proposals bypass the current Django framework to add SSO in the UI only,
but still use username and password for the API. Using Django social
accounts integrates SSO with the API as well, allowing it to be used as
an alternative to the username and password, but can also be used
together with other SSO frameworks that are UI only.

### How has this been tested?
Unit tests for SSO manager in cvat-core and integration test with
cvat-sdk for /auth/cognito endpoint.

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [ ] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file
- [x] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly
- [x] I have added tests to cover my changes
- [x] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [ ] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.

Co-authored-by: Melanie Day <mday@EYEDIAGNOSIS.local>
Co-authored-by: Maria Khrustaleva <maria@cvat.ai>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
3 years ago
..
actions_objects Implemented propagate backward (#5355) 3 years ago
actions_objects2 Grid view and multiple context images supported (#5542) 3 years ago
actions_organizations Fix unstable 2E2 tests (#68) 4 years ago
actions_projects_models Allowed to upload `.xml` and `.json` annotation files from UI (#5386) 3 years ago
actions_tasks Allowed to upload `.xml` and `.json` annotation files from UI (#5386) 3 years ago
actions_tasks2 Grid view and multiple context images supported (#5542) 3 years ago
actions_tasks3 Grid view and multiple context images supported (#5542) 3 years ago
actions_users Django social account sso (#5059) 3 years ago
canvas3d_functionality Grid view and multiple context images supported (#5542) 3 years ago
canvas3d_functionality_2 Grid view and multiple context images supported (#5542) 3 years ago
email_system API versioning using accept header (#4239) 4 years ago
issues_prs Replace unintended Cyrillic C letters with Latin C (#5334) 3 years ago
issues_prs2 Allowed to upload `.xml` and `.json` annotation files from UI (#5386) 3 years ago
masks Implemented propagate backward (#5355) 3 years ago
skeletons Fixed issue 5256, improved 'occluded' visualization (#5259) 3 years ago
auth_page.js Fixed Intel license headers (#119) 4 years ago
remove_users_tasks_projects_organizations.js API versioning using accept header (#4239) 4 years ago
webhooks.js Add webhooks (#4863) 3 years ago