import config from "./aws-exports"; // Update Cognito Settings config.oauth.domain = "staging.auth.xxxxx.app"; Amplify.configure(config);