-
Notifications
You must be signed in to change notification settings - Fork 50
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
Added support for ECIDs passed via the adobe_mc query string parameter. Added appendIdentityToUrl command to enable cross-domain identity sharing. #862
Conversation
…sts for cross-domain scenarios
@@ -14,7 +14,8 @@ import { boolean } from "../../utils/validation"; | |||
|
|||
const configValidators = { | |||
thirdPartyCookiesEnabled: boolean().default(true), | |||
idMigrationEnabled: boolean().default(true) | |||
idMigrationEnabled: boolean().default(true), | |||
idOverwriteEnabled: boolean().default(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think true is the right default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think false might be a safer bet since that’s how it behaves today in Visitor.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’s ask Mitch though
|
||
const getDocumentCookie = ClientFunction(() => document.cookie); | ||
|
||
test.skip("C5752639: Identity can be changed via the adobe_mc query string parameter when id_migration is enabled", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test still fails. Waiting on Konductor changes to work.
… cross domain testing.
Description
Support legacy solution for passing ECID via the query string parameter adobe_mc. https://experienceleague.adobe.com/docs/id-service/using/id-service-api/methods/appendvisitorid.html?lang=en
For the use case of navigating from one domain to another, the customer can use the "appendIdentityToUrl" command to generate the "adobe_mc" query string parameter. The command accepts an object with one property, "url", and returns an object with the property "url".
If consent has not been given, the url is returned unchanged. This command does not wait for consent.
If an ECID has not yet been established, "/acquire" endpoint will be hit to generate an ECID.
Added idOverwriteEnabled config to control whether the query string identity overwrites the cookie or not.
Related Issue
https://jira.corp.adobe.com/browse/PDCL-7572
Motivation and Context
Screenshots (if appropriate):
Types of changes
Checklist: