Skip to content

Commit

Permalink
Merge pull request #363 from IABTechLab/gwh-APIDOCS-1634-faq-update-r…
Browse files Browse the repository at this point in the history
…e-cstg

update FAQ re CSTG
  • Loading branch information
genwhittTTD authored Nov 20, 2023
2 parents 5cd2d0b + c6f6f8c commit bc27210
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/getting-started/gs-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ If the user has opted out, the API response notifies you in either of these case

#### Where should I make token generation calls—from the server side or the client side?

UID2 tokens must be generated only on the server side after authentication. In other words, to ensure that the API key used to access the service remains secret, the [POST /token/generate](../endpoints/post-token-generate.md) endpoint must be called only from the server side.
You can generate UID2 tokens from either the client side or the server side. For more information, see:
- Generating tokens from the client side using Prebid.js: [Prebid.js Express Integration Guide](../guides/integration-prebid.md).
- Generating tokens from the server side using Prebid.js: [Prebid.js Advanced Integration Guide](../guides/integration-prebid-advanced.md).
- Other server-side options: [Publisher Integrations](../guides/summary-guides.md#publisher-integrations).

#### Can I make token refresh calls from the client side?

Expand Down

0 comments on commit bc27210

Please sign in to comment.