React: CORS error when invoking auth.logout

@tom haaaa thanks. You actually solved the problem in this reply. CORS Issues while testing on device :grinning: . I’m glad I was able to solve the problem. I’ve been on it since yesterday.

So, In case anyone is having the same problem too, follow the link in this reply and check @tom’s response. It is likely to be the actual solution. Thanks a lot @tom.