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

fix(FEC-14049): Send referrer only if it came from iFrame embed #242

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

MosheMaorKaltura
Copy link
Contributor

@MosheMaorKaltura MosheMaorKaltura commented Jul 22, 2024

Description of the Changes

In case of iframe embed, the BE adds a parameter to the bundle window.originalRequestReferrer, this value will be added to api calls from the player to the backend for evaluation of access control request.
If the PR is related to an open issue please link to it.

Issue:
The decision when to send it with API calls to the backend needs to be based if it was supplied in origin

Fix:
Send the referrer to the provider only if it was supplied by the backend

Resolves FEC-[https://kaltura.atlassian.net/browse/FEC-14049]

@MosheMaorKaltura MosheMaorKaltura merged commit 46c81fb into master Jul 22, 2024
11 checks passed
@MosheMaorKaltura MosheMaorKaltura deleted the FEC-14049-2 branch July 22, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants