# Implementing Easy Anti Cheat in a client-server unreal engine game, how are we supposed to get the token and EOS product ID to call EOS\_Connect\_VerifyIdToken? 

**URL:** <https://forums.unrealengine.com/t/implementing-easy-anti-cheat-in-a-client-server-unreal-engine-game-how-are-we-supposed-to-get-the-token-and-eos-product-id-to-call-eos-connect-verifyidtoken/2858385>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [September 22, 2025, 10:31am UTC](https://forums.unrealengine.com/t/implementing-easy-anti-cheat-in-a-client-server-unreal-engine-game-how-are-we-supposed-to-get-the-token-and-eos-product-id-to-call-eos-connect-verifyidtoken/2858385 "2025-09-22T10:31:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 22, 2025, 10:31am UTC](https://forums.unrealengine.com/t/implementing-easy-anti-cheat-in-a-client-server-unreal-engine-game-how-are-we-supposed-to-get-the-token-and-eos-product-id-to-call-eos-connect-verifyidtoken/2858385/1 "2025-09-22T10:31:50Z")

</div>

Context: PC game, using unreal engine 5, client-server model.

I am Aware EOS\_Auth\_CopyIdToken exists, my question is: Is is mandatory to get this on the client and send it to the server like in the Sample project? Does the EOS subsystem do something like this already that I have missed? What happens if a client manages to skip that message somehow? Will it never get registered to anti cheat?

Given the context of an UE game, and given that to call EOS\_AntiCheatServer\_RegisterClient we just need an EOS\_ProductUserId, would it be ok to register a client getting the product user id on the server from IUniqueNetIdEOS (we get it from the PlayerState-\>GetUniqueId() and cast it ) and hard coding the client platform to windows as for now that’s the only platform supported?

And am I absolutely required to validate the web token myself even if we don’t need it to register to anti cheat ?

This doesn’t require the client to initiate the flow to register to anti cheat but I wonder if this fundamentally flawed or not. Some guidance on what to do here would be appreciated.

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [September 23, 2025, 3:56pm UTC](https://forums.unrealengine.com/t/implementing-easy-anti-cheat-in-a-client-server-unreal-engine-game-how-are-we-supposed-to-get-the-token-and-eos-product-id-to-call-eos-connect-verifyidtoken/2858385/2 "2025-09-23T15:56:31Z")

</div>

Hey, on your client, you should call EOS\_Connect\_CopyIdToken (not EOS\_Auth\_CopyIdToken - EOS\_Auth is for [Epic Account Services](https://dev.epicgames.com/docs/epic-account-services), EOS\_Connect is for [Game Services](https://dev.epicgames.com/docs/game-services)). Pass the token to the server, and on the server you should call EOS\_Connect\_VerifyIdToken before using the EOS\_ProductUserId. You could use the FUniqueNetIdEOS directly to get the EOS\_ProductUserId, but the safest approach is to copy the token and verify it. Using the token is not a requirement, but a recommendation.
