Uploaded image for project: 'Realm Java SDK'
  1. Realm Java SDK
  2. RJAVA-1040

Google sign in using the documentation as provided does not work

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      How frequently does the bug occur?

      All the time

      Description

      Google Auth

      Realm Auth
      OpenID Connect ON:

      OpenID Connect OFF:

      • sending the authCode in Credentials with GoogleAuthType.AUTH_CODE as above returns error exchanging access code with OAuth2 provider
      • sending the idToken in Credentials with GoogleAuthType.ID_TOKEN results in error fetching info from OAuth2 provider

      I have double checked that I have the same clientId and client secret that are found on the GCP Credentials page.
      I have confirmed that the sign in works as expected using a web client and Apple Id.

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Yes, always

      Reproduction Steps

      No response

      Version

      10.8.0

      What SDK flavour are you using?

      MongoDB Realm (i.e. Sync, auth, functions)

      Are you using encryption?

      No, not using encryption

      Platform OS and version(s)

      One Plus 6T Android 11 (Oxygen 11.1.1.1)

      Build environment

      Android Studio version: ... Artic Fox 2020.3.1 Patch 2
      Android Build Tools version: ... 30.0.3
      Gradle version: ... 1.5.31

            Assignee:
            nathan.contino@mongodb.com Nathan Contino (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: