Implementing Devise Omniauth with Turbo iOS

Hi, I’m trying to implement my third-party logins using devise omniauth with a turbo-ios app. For context, it is a rails app running turbo rails and devise. On my login screen, I have the regular login and also options to login with Facebook, Google, Twitter and Apple. I’m trying to get those logins to work. On the web side of things they work just fine if the buttons have:

form: { "data-turbo": false }

But on the iOS app the buttons don’t work obviously. If I set data-turbo to true, I’m getting the CORS error message “…has been blocked by CORS policy: Response to preflight request doesn’t pass access control check”.

Any pointers would be greatly appreciated, I can’t find any discussions with this particular scenario. What would be the best approach? Please let me know if you need any more details. Thanks!