Authorizing Platform Applications in Sandbox and Production Environments