You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "dpogue (via GitHub)" <gi...@apache.org> on 2023/04/24 13:18:51 UTC

[GitHub] [cordova-ios] dpogue commented on issue #1318: [Error] Cross-origin redirection to http://developers.google.com/ denied by Cross-Origin Resource Sharing policy: Origin ionic://localhost is not allowed by Access-Control-Allow-Origin. Status code: 301

dpogue commented on issue #1318:
URL: https://github.com/apache/cordova-ios/issues/1318#issuecomment-1520146884

   FYI if you're trying to do OAuth for login, [Google won't let you do that in the Cordova WebView](https://developers.googleblog.com/2021/06/upcoming-security-changes-to-googles-oauth-2.0-authorization-endpoint.html) anymore because of security concerns.
   
   You might need to look at options for compliant OAuth support, such as [what Firebase recommends](https://firebase.google.com/docs/auth/web/cordova) or [cordova-plugin-oauth](https://www.npmjs.com/package/cordova-plugin-oauth).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org