Oauth resolution implementation for CORS error

Welcome to the Atlassian developer community @Confluenceipmsuser,

I’d like to help but CORS + OAuth 2 (3LO) isn’t enough context for me to understand your problem. Could you have a look at the following and post some additional details?