I am in the process of converting my apps to use WKWebView in Ionic 3.7. However, I am running into an issue when calling /oauth/authorize to get my access token.
Back when we used UIWebView it worked fine, but since WKWebView runs on an address of
http://localhost:8080, I am seeing a CORS error.
It seems like only the authorize endpoint is seeing this, my other API calls work fine. I guess my question is, does the authorize endpoint use the callback URL to validate the origin, or is there something else? Can
http://localhost:8080 be whitelisted on the Untappd end?
As a work-around, I can always write a proxy on my back-end (and I probably should) to make the request for me, but if I could get my existing code working that would be nice.
Any ideas would be appreciated.
Thanks,
Corey Roth