question

Bernardo Varela avatar image
Bernardo Varela asked

Can multiple users login with same CustomID?

I'm calling LoginWithCustomID on game code just to be able to call a CloudScript. Are multiple users able to login with the same CustomID even if temporarily?

CloudScriptAccount Management
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bernardo Varela avatar image Bernardo Varela commented ·

Multiple users simultaneously*

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

No, you should never use the same authentication credential for different users. Each user needs to sign in individually.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

franciscoraposo avatar image franciscoraposo commented ·

Hi!

We want users to sign in with an AuthToken from an unsupported platform (Epic Games Store). It's done via Cloudscript LoginWithServerCustomID but it requires an authenticated user

The options below are from most ideal to least ideal based on the number of temp accounts created

  1. Call Cloudscript without authentication. This allows bypassing the first sign in step and go straight to the proper sign in. Might not be possible
  2. Call LoginWithCustomID having one ID for everyone. The first account is temporary so all players could use the same one to call Cloudscript to sign in to their individual account. This way the database only has one additional entry. Also, after the second sign in the account becomes useless to that player
  3. Call LoginWithCustomID having a set of IDs. This is similar to option 2 but divides the players by multiple temporary accounts. The number of accounts in the database size will eventually be #Players + #IDsInSet
  4. Call LoginWithCustomID with the account ID. This solution has users signing in to individual accounts. However, this is not ideal as it will double the number of players in the database

Which one is more viable? Why aren't the ones above it viable?

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.