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

Move auth routes out of API #37

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

antoninbas
Copy link
Contributor

I believe it makes more sense to decouple authentication from the rest of the API. The API only requires a JWT token, which in theory could be obtained through different means.
With this change, all the cookie manipulation logic is moved out of the API, which makes the API itself more "RESTful".

I believe it makes more sense to decouple authentication from the rest
of the API. The API only requires a JWT token, which in theory could be
obtained through different means.
With this change, all the cookie manipulation logic is moved out of the
API, which makes the API itself more "RESTful".

Signed-off-by: Antonin Bas <abas@vmware.com>
@antoninbas antoninbas requested review from tnqn and xliuxu May 31, 2023 18:52
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas antoninbas merged commit 9e5a093 into antrea-io:main Jun 1, 2023
@antoninbas antoninbas deleted the move-auth-routes-out-of-api branch June 1, 2023 17:45
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.

2 participants