Social media SignIn Failure (Google/Facebook)

13 views
Skip to first unread message

Juan Pablo Bulbulian

unread,
Oct 23, 2019, 6:34:20 PM10/23/19
to MongoDB Stitch Users
Hi, i'm getting this error when I try to sigin with Google o Facebook accounts.

    (UNKNOWN): Unknown: com.mongodb.stitch.core.StitchServiceException: expected payload to have one of: accessToken, id_token or authCode
        at com.mongodb.stitch.core.internal.common.StitchError.handleRichError(StitchError.java:94)
        at com.mongodb.stitch.core.internal.common.StitchError.handleRequestError(StitchError.java:61)
        at com.mongodb.stitch.core.internal.net.BaseStitchRequestClient.inspectResponse(BaseStitchRequestClient.java:54)
        at com.mongodb.stitch.core.internal.net.BaseStitchRequestClient.doRequestUrl(BaseStitchRequestClient.java:65)
        at com.mongodb.stitch.core.internal.net.StitchAppRequestClientImpl.doRequest(StitchAppRequestClientImpl.java:55)
        at com.mongodb.stitch.core.auth.internal.CoreStitchAuth.doLoginRequest(CoreStitchAuth.java:663)
        at com.mongodb.stitch.core.auth.internal.CoreStitchAuth.doLogin(CoreStitchAuth.java:632)
        at com.mongodb.stitch.core.auth.internal.CoreStitchAuth.loginWithCredentialInternal(CoreStitchAuth.java:382)
        at com.mongodb.stitch.android.core.auth.internal.StitchAuthImpl.access$000(StitchAuthImpl.java:48)
        at com.mongodb.stitch.android.core.auth.internal.StitchAuthImpl$1.call(StitchAuthImpl.java:105)
        at com.mongodb.stitch.android.core.auth.internal.StitchAuthImpl$1.call(StitchAuthImpl.java:102)
        at com.mongodb.stitch.core.internal.common.ThreadDispatcher$1.run(ThreadDispatcher.java:57)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)


The first step it's working fine, I got the authCode, but when you call the loginWithCredential method with that code Stitch it's failing.
This started a few weeks ago without any changes in my client, anyone have a clue about what it's going on?
Reply all
Reply to author
Forward
0 new messages