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: enable WebHook authentication #2551

Merged
merged 8 commits into from
Aug 16, 2023

Conversation

mivanov1988
Copy link
Collaborator

@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 [email protected]

@mivanov1988 mivanov1988 force-pushed the person/miroslavi/enable-webhooks-authentication branch from 321425c to ff23116 Compare August 15, 2023 12:21
@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
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.

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