Access tokens for the live environment should be obtained through our OAuth services. You need to create an application on the live environment and have your code obtain a token via one of the OAuth 2 grant types (code, pkce or implicit).
More Resources
GitHub - Examples on retrieving and refreshing the authentication token