CodeDeploy will not accept GitHub OAuth when instance is in a different region

1

I am at my wits end here. I am trying to set up a CodeDeploy deployment with my EC2 instance for GitHub, but whenever I try to verify the token name it either says "There seems to be a problem with your session" or when I clear cookies and try changing the region, it will show the correct window but it doesn't respond after hitting the "Confirm" button. In the URL I can see that the pop up window for the connection is using a "us-west-1" region, but the EC2 and CodeDeploy appication is set up in "us-east-1". When I do clear cookies and it shows the correct window and then I hit the "Commit" button, nothing happens but the console shows this error:

Uncaught DOMException: Permission denied to access property "signalGitHubFinished" on cross-origin object

Which makes me think this is a CORS issue between the regions. I did find a similar issue like this way back in 2015 but it was resolved with someone saying "This issue is fixed now". But it's clearly not fixed for me. PLEASE HELP.

ben
질문됨 2년 전106회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠