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

Update authentication.mdx to use correct auth header for OpenAI and V… #18937

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

ndamulelonemakh
Copy link
Contributor

…ercel SDKs

Using cf-aig-token results in Error: 401 [{"code":2009,"message":"Unauthorized"}]. From my tests this is fixed if we use header name cf-aig-authorization instead

Summary

Update authentication.mdx to use correct auth header for OpenAI and Vercel SDKs

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

…ercel SDKs

Using `cf-aig-token` results in Error: 401 [{"code":2009,"message":"Unauthorized"}]. From my tests this is fixed if we use header name `cf-aig-authorization` instead
@github-actions github-actions bot added the product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ label Dec 26, 2024
@kathayl
Copy link
Contributor

kathayl commented Jan 6, 2025

thanks for finding this and submitting the PR!

@kathayl kathayl merged commit cb900af into cloudflare:production Jan 7, 2025
7 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Jan 7, 2025
Copy link

holopin-bot bot commented Jan 7, 2025

Congratulations @ndamulelonemakh, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm5lrpm6700640cl4hqkpagor

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution [Holopin] Recognizes a docs contribution, big or small product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants