Can we provide a custom userId during custom authentication?

Is there a way to provide our own userId during custom authentication in Nakama, instead of letting Nakama generate one automatically?

We have a backend-managed personId which is guaranteed to be unique and in UUID format. We’d like to use this personId as the Nakama userId for each account, rather than relying on Nakama’s default generated IDs.

Is this supported and if so, what’s the correct approach to ensure the provided ID is respected?

Nakama Version: 3.25.0