Authorizing Custom Applications in Sandbox and Production Environments