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

[Content]: Clarify that Track API is entirely unauthenticated #5683

Open
FirstWhack opened this issue Nov 15, 2023 · 1 comment
Open

[Content]: Clarify that Track API is entirely unauthenticated #5683

FirstWhack opened this issue Nov 15, 2023 · 1 comment
Labels
content When the bug is about content that needs to get fixed stale triage

Comments

@FirstWhack
Copy link

FirstWhack commented Nov 15, 2023

What article on segment.com/docs is affected?

https://segment.com/docs/connections/sources/catalog/libraries/server/http-api/#regional-configuration

What part(s) of the article would you like to see updated?

The article states:

Authenticate to the Tracking API by sending your project’s Write Key along with a request. Authentication uses HTTP Basic Auth, which involves a username:password that is base64 encoded and prepended with the string Basic.

This is not really true as the API always responds 200 OK even if no auth header is provided at all. We are building a new Source and this information was confusing to us because it implies we can test the write key/authentication when the user is configuring the integration on our side.

As a side note/feature request, an API which returns 401 when provided a bad write key (or no auth) would be valuable so that our users can "test integration" during configuration.

Additional information

Screenshot 2023-11-15 at 4 07 20 PM

@FirstWhack FirstWhack added content When the bug is about content that needs to get fixed triage labels Nov 15, 2023
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the stale label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content When the bug is about content that needs to get fixed stale triage
Projects
None yet
Development

No branches or pull requests

1 participant