Is it possible to launch a game with a string parameter?

So if have a program that authenticates a player before he starts the game.

When the player authenticates himself, the server returns a string token that I need to pass to the game’s client. And create HTTP requests with that token.

Is there anyway to do that? I was not able to find anything on google.