You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like in app.js line 142, we are passing the argument firebaseToken to the createFirebaseAccount function. This variable hasn't been created.
createFirebaseAccount(results.user.id, results.user.full_name,
results.user.profile_picture, firebaseToken).then(firebaseToken => {
// Send the custom token, access token and profile data as a JSON object.
res.send(firebaseToken);
Think this should be a variable containing the access_token returned from the token endpoint for instagram.
Likely missing a
const accessToken = results.access_token;
createFirebaseAccount(results.user.id, results.user.full_name,
results.user.profile_picture, accessToken).then(firebaseToken => {
// Send the custom token, access token and profile data as a JSON object.
res.send(firebaseToken);
The text was updated successfully, but these errors were encountered:
noenthu
changed the title
Invalid argument passed to createFireBaseAccount method from Mobile App endpoint
Invalid argument passed to createFireBaseAccount from Mobile App endpoint
Jan 26, 2017
Looks like in app.js line 142, we are passing the argument firebaseToken to the createFirebaseAccount function. This variable hasn't been created.
Think this should be a variable containing the access_token returned from the token endpoint for instagram.
Likely missing a
The text was updated successfully, but these errors were encountered: