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
..
cypress Django social account sso (#5059) 3 years ago
git_server Fix creation of tasks with Git repositories via the SDK (#5409) 3 years ago
mounted_file_share Added Cypress testing for feature: Multiple tasks creating from videos (#5028) 3 years ago
python Django social account sso (#5059) 3 years ago
.eslintrc.js Add webhooks (#4863) 3 years ago
cypress.json Removed code duplications, added checks to CI (#5253) 3 years ago
cypress_canvas3d.json Cypress. New organization pipeline. (#4143) 4 years ago
docker-compose.email.yml Migrate to Docker Compose V2 (#5524) 3 years ago
docker-compose.file_share.yml Splitted default queue to import/export, fixed django-rq admin page (#5555) 3 years ago
docker-compose.minio.yml Migrate to Docker Compose V2 (#5524) 3 years ago
docker-compose.test_servers.yml Migrate to Docker Compose V2 (#5524) 3 years ago
json_to_html.py Fixed Intel license headers (#119) 4 years ago
nightly_cypress.json Refactor CI (#26) 4 years ago
package.json Fixed eslint config (#131) 4 years ago
pr_cypress.json Refactor CI (#26) 4 years ago
pr_cypress_canvas3d.json Refactor CI (#26) 4 years ago
values.test.yaml Splitted default queue to import/export, fixed django-rq admin page (#5555) 3 years ago
yarn.lock Bump json5 from 2.2.1 to 2.2.2 in /tests (#5532) 3 years ago