1

My mobile SDK page launches a community login page on startup; the login page includes a "login with google" link that kicks off auth through a configured Google Auth Provider in the org (e.g., /services/auth/sso/<OrgId>/Google?community={!URLENCODE($Site.baseSecureUrl)}&startURL={!startUrl}).

Google has disallowed OAUTH via WebView for details. They recommend using Google Sign-in, and there's even a Cordova Plugin for that, but how do I integrate that with the Salesforce login process? The Google Sign-in API returns a ServerAuthCode, which sounds like Oauth's "Web Server Flow", but all the docs seem to indicate that's support for other apps using SF for SSO, but how do I initiate SSO to Salesforce with the token?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.