I think you will want to look into the
AccessControl file, in function prelogin. If i remember right that runs client side.
We also add this stuff to our DefaultGame.ini config file. If you haven’t got that in your ini file add it in.
bAuthenticateClients=true ;Whether or not game servers should authenticate joining clients (clients are blocked from joining at PreLogin, until auth completes, or kicked if it fails)
bAuthenticateServer=true ;Whether or not clients should authenticate the game server (happens after client auth completes)
bAuthenticateListenHost=true ;Whether or not players hosting a listen server should be authenticated with their own server
MaxAuthRetryCount=50 ;The maximum number of times to retry authentication for a player
AuthRetryDelay=1.05 ;The delay between auth retry attempts