Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve social authentication #5349

Merged
merged 17 commits into from
Dec 10, 2022
Merged

Conversation

Marishka17
Copy link
Contributor

@Marishka17 Marishka17 commented Nov 23, 2022

Motivation and context

How has this been tested?

In another PR

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@Marishka17
Copy link
Contributor Author

/check

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2022

❌ Some checks failed
📄 See logs here

cvat/apps/iam/views.py Fixed Show fixed Hide fixed
@Marishka17 Marishka17 marked this pull request as ready for review November 25, 2022 13:57
@Marishka17 Marishka17 changed the title [WIP] Improve social authentication Improve social authentication Nov 25, 2022
@Marishka17 Marishka17 force-pushed the mk/improve_social_authentication branch from 231ee10 to e39850b Compare November 25, 2022 14:26
@Marishka17 Marishka17 changed the title Improve social authentication [WIP] Improve social authentication Nov 25, 2022
@Marishka17
Copy link
Contributor Author

/check

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2022

✔️ All checks completed successfully
📄 See logs here

@Marishka17 Marishka17 changed the title [WIP] Improve social authentication Improve social authentication Nov 25, 2022
},
};
cvat.server.request(
`${cvat.config.backendAPI}/auth/${provider}/login/token?state=${state}`, req,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marishka17 , should it be a part of cvat-core?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean dedicated API method like loginSocial?

cvat/apps/iam/views.py Outdated Show resolved Hide resolved
Copy link
Contributor

@nmanovic nmanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marishka17 , it looks good from my perspective at least. Need to slightly change the code. Also I expect to see all these auth methods in our swagger. What is a reason to hide them?

},
};
cvat.server.request(
`${cvat.config.backendAPI}/auth/${provider}/login/token?state=${state}`, req,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean dedicated API method like loginSocial?

@nmanovic nmanovic merged commit a3b4f97 into develop Dec 10, 2022
@nmanovic nmanovic deleted the mk/improve_social_authentication branch December 10, 2022 20:16
nmanovic pushed a commit that referenced this pull request Jan 12, 2023
Depends on #5349
Related #5432
Added tests for social account authentication functionality: cypress
test with dummy auth server
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Jul 1, 2023
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Jul 1, 2023
Depends on cvat-ai#5349
Related cvat-ai#5432
Added tests for social account authentication functionality: cypress
test with dummy auth server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants