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

UID2 module: Add documentation for cstg #10629

Merged
merged 20 commits into from
Oct 27, 2023

Conversation

jingyi-gao-ttd
Copy link
Contributor

@jingyi-gao-ttd jingyi-gao-ttd commented Oct 19, 2023

Type of change

  • Other

Description of change

Update documentation for Client-Side Token Generation feature

Other information

PR for this feature: #10510

@jingyi-gao-ttd jingyi-gao-ttd changed the title Add documentation for cstg UID2 module: Add documentation for cstg Oct 19, 2023
modules/uid2IdSystem.md Outdated Show resolved Hide resolved
modules/uid2IdSystem.md Outdated Show resolved Hide resolved
modules/uid2IdSystem.md Show resolved Hide resolved
}
});
```

Copy link

Choose a reason for hiding this comment

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

Do we need to add the description of the new CSTG specific params in the
Parameter Descriptions for the usersync Configuration Section

at the bottom of the page?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've addressed the changes and added CSTG specific params to the parameter description table

Copy link

Choose a reason for hiding this comment

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

Thanks let's wait for Kimberley to come back to confirm the CSTG feature naming and then we can further modify this PR if necessary

Copy link

Choose a reason for hiding this comment

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

let's push ahead with current naming until PMs can decide on the final naming

}
});
```

Copy link

Choose a reason for hiding this comment

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

Thanks let's wait for Kimberley to come back to confirm the CSTG feature naming and then we can further modify this PR if necessary

1. Set `parmas.serverPublicKey` and `params.subscriptionId`
2. Provide **ONLY ONE DII** by setting **ONLY ONE** of `params.email`/`params.phone`/`params.emailHash`/`params.phoneHash`

For the correct way to generate email and phone hash, refer to this [UID2 documentation](https://unifiedid.com/docs/getting-started/gs-normalization-encoding).
Copy link

@sunnywu sunnywu Oct 19, 2023

Choose a reason for hiding this comment

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

Matt has just now created this table earlier. Maybe you can tweak it and add to here to tell pubs clearly they may need to do normalisation/hashing depending on the param input type?

You can still tweak and add these lines too?
_Note that setIdentityFromEmail will normalize email addresses, but setIdentityFromPhone requires phone numbers to be normalized.

Refer to this page Normalization and Encoding on unifiedid.com for details on email address normalization, SHA-256 hashing and Base64 encoding._

Copy link

Choose a reason for hiding this comment

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

Thanks @jingyi-gao-ttd latest changes looks good!


*Note that setIdentityFromEmail will normalize email addresses, but setIdentityFromPhone requires phone numbers to be normalized.*

Refer to this page [Normalization and Encoding](https://unifiedid.com/docs/getting-started/gs-normalization-encoding) on [unifiedid.com](https://unifiedid.com/) for details on email address normalization, SHA-256 hashing and Base64 encoding.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm nervous this link might break, is it possible to replicate here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've put that to the end

```
$ gulp build --modules=uid2IdSystem --disable UID2_CSTG
```
If you do plan to use Client-Side Token Generation (CSTG) mode, we strongly recommend consulting with the UID2 Team before implementing it in your integration.
Copy link

Choose a reason for hiding this comment

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

Maybe change to:

If you do plan to use Client-Side Token Generation (CSTG) mode, please consult the UID2 Team first as they will provide required configuration values for you to use (see the Client-Side Token Generation (CSTG) mode section below for details)

}
});
```

Copy link

Choose a reason for hiding this comment

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

let's push ahead with current naming until PMs can decide on the final naming

**Important information:** UID2 is not designed to be used where GDPR applies. The module checks the passed-in consent data and will not operate if the `gdprApplies` flag is true.

## Client-Side Token Generation (CSTG) mode

Copy link

Choose a reason for hiding this comment

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

Maybe add a note in bold:

This mode is currently in the alpha stage of development. Please consult UID2 Team first as they will provide required configuration values for you to use.

@jingyi-gao-ttd jingyi-gao-ttd marked this pull request as ready for review October 23, 2023 01:54
@jingyi-gao-ttd jingyi-gao-ttd changed the base branch from master to stsda October 23, 2023 02:36
@jingyi-gao-ttd jingyi-gao-ttd changed the base branch from stsda to master October 23, 2023 02:36
@patmmccann patmmccann self-assigned this Oct 27, 2023
@patmmccann patmmccann merged commit 34070eb into prebid:master Oct 27, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants