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

DASBO-7421 upadte authentification to datadome api from query param to using the… #15

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

Simoouqas
Copy link
Contributor

@Simoouqas Simoouqas commented Sep 20, 2023

For this Pr we add a new authetication methode with apikey to use in the header as x-api-key,
we keep using the authetificaiton through the queryParam .
both authentication method should be available for customer but we recommend the header method .
documentation is updated .
for more details you can go here DASBO 7421

IT SHOULD NOT BE DEPLOYED UNTIL THE DASHBOARD TICKET IS ON PROD

@Simoouqas Simoouqas marked this pull request as ready for review October 11, 2023 12:24
@Simoouqas Simoouqas requested review from gilleswalbrou and a team as code owners October 11, 2023 12:24
@Simoouqas
Copy link
Contributor Author

Please do not merge until the linked dashboard ticket is deployed

datadome-client-go/client.go Outdated Show resolved Hide resolved
@Lauredg Lauredg self-requested a review October 11, 2023 14:11
@Lauredg
Copy link
Contributor

Lauredg commented Oct 12, 2023

Hello @Simoouqas ,
The integration team has just acquired responsibility for this provider, as it is a customer facing component.
Could you please update the description to give me some context and link the Jira ticket so that I can review your PR? Thanks a lot!

@Simoouqas Simoouqas changed the title upadte authentification to datadome api from query param to using the… DASBO-7421 upadte authentification to datadome api from query param to using the… Oct 12, 2023
Copy link
Contributor

@Lauredg Lauredg left a comment

Choose a reason for hiding this comment

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

LGTM! However I would like to test it before merging it.
When the API change is in production, we will test it, merge it and then I will make the release if that's ok with you @Simoouqas .

datadome-client-go/client.go Outdated Show resolved Hide resolved
@Simoouqas Simoouqas requested a review from Lauredg October 12, 2023 13:09
Copy link
Contributor

@emmanuelCarre emmanuelCarre left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Lauredg : have you test it?

@Simoouqas Simoouqas requested a review from a team as a code owner December 13, 2023 09:30
@Simoouqas Simoouqas requested a review from laurodd December 13, 2023 09:30
@Lauredg
Copy link
Contributor

Lauredg commented Dec 13, 2023

@emmanuelCarre @Simoouqas I just tested it and it works :)
I am going to merge it as it will solve #12

@Lauredg Lauredg merged commit 7674f2b into master Dec 13, 2023
1 check passed
@Lauredg Lauredg deleted the refacto/update-api-auth branch December 13, 2023 13:27
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.

4 participants