Skip to content

control-service: enable WebHook authentication#2551

Merged
mivanov1988 merged 8 commits intomainfrom
person/miroslavi/enable-webhooks-authentication
Aug 16, 2023
Merged

control-service: enable WebHook authentication#2551
mivanov1988 merged 8 commits intomainfrom
person/miroslavi/enable-webhooks-authentication

Conversation

@mivanov1988
Copy link
Copy Markdown
Contributor

@mivanov1988 mivanov1988 commented Aug 14, 2023

Why

Currently, the Control Service lacks the capability to authenticate against the WebHook API. A specific customer of ours requires authentication for the WebHook API utilizing the same access token passed by the client to the Control Service APIs.

What

Incorporated logic to forward the oAuth2 access token to the WebHook API.

Testing Done

Unit and integration tests.

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

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
@mivanov1988 mivanov1988 force-pushed the person/miroslavi/enable-webhooks-authentication branch from 321425c to ff23116 Compare August 15, 2023 12:21
github-actions and others added 3 commits August 15, 2023 12:22
@mivanov1988 mivanov1988 changed the title [DRAFT] control-service: enable webhooks authentication control-service: enable WebHook authentication Aug 15, 2023
@mivanov1988 mivanov1988 enabled auto-merge (squash) August 16, 2023 06:23
Copy link
Copy Markdown
Contributor

@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.

Looks good to me

@mivanov1988 mivanov1988 merged commit 2276a54 into main Aug 16, 2023
@mivanov1988 mivanov1988 deleted the person/miroslavi/enable-webhooks-authentication branch August 16, 2023 20:29
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.

4 participants