If you are using NSURLSession to create HTTP requests, see this for information on working with forwarding.
Google also has ready-made Google login packages for iOS and Android, which you can include in your application, similar to the one in your web client. I never used them, so I donβt understand how exactly they will integrate with you.
Alternatively, you can configure an authentication endpoint in your backend, which processes all this, while the application only makes one request to your server and your server processes the connection with Google. For example, you can send a user a request to / oauth / mobile. The server then sends an authentication request to Google and receives an access token and an update token. Then you can return your application token from the server. Google has Google input documentation for server-side applications that may be relevant.
source share