FIRAuthInternalErrorDomain "MISSING_IDENTIFIER" when trying to login with custom token

1,681 views
Skip to first unread message

Dylan

unread,
Jun 2, 2016, 10:37:18 AM6/2/16
to Firebase Google Group
I've recently migrated to the new version of Firebase. I'm using the new SDK in my iOS app.
I'm using Firebase 3.2.0 and have hit the following error when sign in with custom token:

Optional(Error Domain=FIRAuthErrorDomain Code=17999 "An internal error has occurred, print and inspect the error details for more information." UserInfo={NSUnderlyingError=0x7fd290f3dc50 {Error Domain=FIRAuthInternalErrorDomain Code=3 "(null)" UserInfo={FIRAuthErrorUserInfoDeserializedResponseKey=<CFBasicHash 0x7fd2931787a0 [0x10e5db7b0]>{type = immutable dict, count = 3,

entries =>

0 : <CFString 0x7fd2931669b0 [0x10e5db7b0]>{contents = "message"} = <CFString 0x7fd29318e280 [0x10e5db7b0]>{contents = "MISSING_IDENTIFIER"}

1 : errors = <CFArray 0x7fd2931554b0 [0x10e5db7b0]>{type = immutable, count = 1, values = (

0 : <CFBasicHash 0x7fd293141000 [0x10e5db7b0]>{type = immutable dict, count = 3,

entries =>

0 : reason = invalid

1 : message = <CFString 0x7fd2931a0070 [0x10e5db7b0]>{contents = "MISSING_IDENTIFIER"}

2 : domain = global

}



)}

2 : code = <CFNumber 0xb000000000001903 [0x10e5db7b0]>{value = +400, type = kCFNumberSInt64Type}

}

}}, error_name=ERROR_INTERNAL_ERROR, NSLocalizedDescription=An internal error has occurred, print and inspect the error details for more information.})

I don't know what "MISSING_IDENTIFIER" means.
Does anyone have the same issue?

Kato Richardson

unread,
Jun 2, 2016, 3:54:47 PM6/2/16
to Firebase Google Group
Dylan,

What version? What does your custom token gen code look like? What are the payload used to create the token?

By the way, there is a good summary of the claims needed at the bottom of this thread.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/10d79584-cd44-4702-969c-78620c7671e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Jacob Wenger

unread,
Jun 3, 2016, 5:27:15 PM6/3/16
to fireba...@googlegroups.com
It's possible you are using a custom token from the old token generators for the 2.x.x SDKs, and not the new token generators for the 3.x.x SDKs. You can read these docs to learn how to create custom tokens for the new SDKs.

As Kato mentioned, we need some more info to help you out, including how you created the custom token and what code you are using to get this error.

Cheers,
Jacob

Reply all
Reply to author
Forward
0 new messages