Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

cors: enable allow_credentials #44

Merged
merged 1 commit into from
Nov 3, 2023
Merged

cors: enable allow_credentials #44

merged 1 commit into from
Nov 3, 2023

Conversation

xvello
Copy link
Contributor

@xvello xvello commented Nov 3, 2023

Fix the following error:

Access to XMLHttpRequest at 'https://app.posthog.com/i/v0/e/?compression=gzip-js&ip=1&_=1699004313770&ver=1.88.1&retry_count=1&' from origin 'https://eu.posthog.com' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

@xvello xvello requested a review from ellie November 3, 2023 09:41
Copy link

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

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

rusty

@xvello xvello merged commit 4f85f1a into main Nov 3, 2023
@xvello xvello deleted the xvello/creds branch November 3, 2023 09:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants