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

control-service: implement Webhook APIs authentication #2655

Merged
merged 4 commits into from
Sep 13, 2023

Conversation

mivanov1988
Copy link
Contributor

Why
If a data job authenticates against the Control Service via Kerberos, the Control Service won't be able to forward the access token to webhook APIs, because it does not exist.

What
Implemented method for obtaining oAuth2 access token via refresh token.

Testing Done:
Locally against real oAuth2 Authorization Server.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com

mivanov1988 and others added 2 commits September 12, 2023 17:39
Why
If a data job authenticates against the Control Service via Kerberos,
the Control Service won't be able to forword the access token to webhook APIs,
because it does not exist.

What
Implemented method for obtaining oAuth2 access token via refresh token.

Testing Done:
Locally against real oAuth Authorization Server.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
@mivanov1988 mivanov1988 enabled auto-merge (squash) September 13, 2023 07:18
@mivanov1988 mivanov1988 merged commit 4ae3bf2 into main Sep 13, 2023
3 checks passed
@mivanov1988 mivanov1988 deleted the person/miroslavi/implement-webhook-authentication branch September 13, 2023 11:16
Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

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

Sorry it took me time to take a look. Please look over the comments and address them in separate PR if you agree. If now, let's discuss them.

mivanov1988 added a commit that referenced this pull request Sep 14, 2023
mivanov1988 added a commit that referenced this pull request Sep 14, 2023
mivanov1988 added a commit that referenced this pull request Sep 15, 2023
mivanov1988 added a commit that referenced this pull request Sep 15, 2023
Adressing comments from
#2655

---------

Co-authored-by: github-actions <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants