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

Third party cookie check #970

Merged
merged 36 commits into from
Nov 28, 2019

Conversation

JohannesDoberer
Copy link
Contributor

No description provided.

@JohannesDoberer JohannesDoberer added the enhancement New feature or request label Nov 15, 2019
@JohannesDoberer JohannesDoberer added this to the Sprint 8 milestone Nov 15, 2019
Copy link
Contributor

@alexandra-simeonova alexandra-simeonova left a comment

Choose a reason for hiding this comment

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

Nice work! 🥇


- **thirdPartyCookiesScriptLocation** is the URL to the page containing third-party cookies support check.
To detect whether the user's browser supports the mechanism, use the script in the third-party-cookies catalog. Deploy these files on a domain different from your main application's and set thirdPartyCookiesScriptLocation to the init.html file. During initialization, Luigi detects the cookies support and produces an alert if cookies are disabled in the user's browser.
* **thirdPartyCookieDetection** is a flag to check if third party cookies are supported. When set to `true`, Luigi detects during initialization of an external microfrontend the cookie support and produces an alert if cookies are disabled in the user's browsers.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* **thirdPartyCookieDetection** is a flag to check if third party cookies are supported. When set to `true`, Luigi detects during initialization of an external microfrontend the cookie support and produces an alert if cookies are disabled in the user's browsers.
* **thirdPartyCookieDetection** is a flag to check if third-party cookies are supported. When set to `true`, Luigi detects cookie support during the initialization of an external micro frontend and produces an alert if cookies are disabled in the user's browsers.

@alexandra-simeonova alexandra-simeonova self-assigned this Nov 15, 2019
JohannesDoberer and others added 6 commits November 15, 2019 10:21
Co-Authored-By: Alexandra Simeonova <49867570+alexandra-simeonova@users.noreply.github.com>
…ck' of github.com:JohannesDoberer/luigi into third-party-cookie-check

* 'third-party-cookie-check' of github.com:JohannesDoberer/luigi:
  Update docs/general-settings.md

* 'third-party-cookie-check' of github.com:JohannesDoberer/luigi:
  Update docs/general-settings.md
Co-Authored-By: Alexandra Simeonova <49867570+alexandra-simeonova@users.noreply.github.com>
@marynaKhromova marynaKhromova self-assigned this Nov 15, 2019
* master:
  Dynamically generate navigation (SAP#973)
  Copy to clipboard for code blocks (SAP#963)
  add link on landing page to luigi fiddle (SAP#968)
…/luigi into third-party-cookie-check

* 'third-party-cookie-check' of github.com:JohannesDoberer/luigi:
JohannesDoberer and others added 4 commits November 25, 2019 10:49
…/luigi into third-party-cookie-check

* 'third-party-cookie-check' of github.com:JohannesDoberer/luigi:
  FAQ Documentation (SAP#982)
  Docu links leftovers (SAP#974)
  Bugfix invalid initial root navnode (SAP#979)
  Leftover documentation fixes (SAP#978)
  Navigate with anchors (SAP#976)
  remove jesusreal from codeowners, thanks for your great work in this project (SAP#980)
Copy link
Contributor

@marynaKhromova marynaKhromova left a comment

Choose a reason for hiding this comment

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

lgtm 👍

JohannesDoberer and others added 2 commits November 28, 2019 10:21
Co-Authored-By: Alexandra Simeonova <49867570+alexandra-simeonova@users.noreply.github.com>
Co-Authored-By: Alexandra Simeonova <49867570+alexandra-simeonova@users.noreply.github.com>
thirdPartyCookiesCheck = LuigiConfig.getConfigValue(
'settings.thirdPartyCookieCheck'
);
if (thirdPartyCookiesCheck.thirdPartyCookieScriptLocation) {
Copy link
Contributor

Choose a reason for hiding this comment

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

thirdPartyCookiesCheck can be null or undefined here..

JohannesDoberer and others added 2 commits November 28, 2019 16:29
Co-Authored-By: Alexandra Simeonova <49867570+alexandra-simeonova@users.noreply.github.com>
Co-Authored-By: Alexandra Simeonova <49867570+alexandra-simeonova@users.noreply.github.com>
@JohannesDoberer JohannesDoberer merged commit 18feed1 into SAP:master Nov 28, 2019
@JohannesDoberer JohannesDoberer deleted the third-party-cookie-check branch November 28, 2019 15:45
JohannesDoberer added a commit to JohannesDoberer/luigi that referenced this pull request Nov 29, 2019
* master:
  Third party cookie check (SAP#970)
  remove icon preview page (SAP#988)
  update luigi version (SAP#985)
JohannesDoberer added a commit to JohannesDoberer/luigi that referenced this pull request Dec 4, 2019
* master:
  change documentation link (SAP#984)
  no message (SAP#998)
  release v0.7.2 (SAP#997)
  Update Luigi core npm to 6.13.1 (SAP#990)
  Update INTERNAL-README.md (SAP#987)
  Edge browser back (SAP#992)
  Third party cookie check (SAP#970)
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants