# Firebase idToken

**URL:** <https://community.thunkable.com/t/firebase-idtoken/39240>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, webapi\
**Created:** [August 4, 2018, 9:44pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240 "2018-08-04T21:44:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![marioishikawa](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@marioishikawa](https://community.thunkable.com/u/marioishikawa)\
**Post date:** [August 4, 2018, 9:44pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240/1 "2018-08-04T21:44:49Z")

</div>

Hello!

I did not understand so well how the sign in works on [https://docs.thunkable.com/thunkable-cross-platform/create/components/sign-in/sign-in](https://docs.thunkable.com/thunkable-cross-platform/create/components/sign-in/sign-in)  
After that all that I get is user ID. How can I take the idToken so I can pass it on the the API I’m trying to access? Also this API receives the token on request headers which apparently is also not an option on WEB API. Am I missing something? These look like important features for this API sign in process.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 5, 2018, 5:20am UTC](https://community.thunkable.com/t/firebase-idtoken/39240/2 "2018-08-05T05:20:50Z")

</div>

Hello,

what API do you want to use?

---

<div class="post-metadata">

**Author:** ![marioishikawa](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@marioishikawa](https://community.thunkable.com/u/marioishikawa)\
**Post date:** [August 5, 2018, 12:25pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240/3 "2018-08-05T12:25:59Z")

</div>

It’s a Rest API of an internal Software we use in our company.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 5, 2018, 1:19pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240/4 "2018-08-05T13:19:56Z")

</div>

Clear. As you can see, the native part of Thunkable X has limitations for circumventing which try to use web technologies. For example, the Firebase JavaScript API.

---

<div class="post-metadata">

**Author:** ![marioishikawa](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@marioishikawa](https://community.thunkable.com/u/marioishikawa)\
**Post date:** [August 6, 2018, 6:45pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240/5 "2018-08-06T18:45:14Z")

</div>

Is there a way to address to this situation?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 7, 2018, 5:55am UTC](https://community.thunkable.com/t/firebase-idtoken/39240/6 "2018-08-07T05:55:05Z")

</div>

I think this information can help you.

[https://firebase.google.com/docs/auth/admin/verify-id-tokens](https://firebase.google.com/docs/auth/admin/verify-id-tokens)

---

<div class="post-metadata">

**Author:** ![gwaindepy](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gwaindepy](https://community.thunkable.com/u/gwaindepy)\
**Post date:** [February 19, 2019, 12:56pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240/7 "2019-02-19T12:56:43Z")

</div>

Hi. did you find a way to resolve this? I am trying to get the registration token as well but I am failing

---

<div class="post-metadata">

**Author:** ![marioishikawa](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@marioishikawa](https://community.thunkable.com/u/marioishikawa)\
**Post date:** [April 11, 2020, 5:38pm UTC](https://community.thunkable.com/t/firebase-idtoken/39240/8 "2020-04-11T17:38:18Z")

</div>

Hi! I just recently got back to this problem and found this post again. Back then I had no solution but now yes, I did it recently following the Firebase Authentication REST API, so, completely forget about the Firebase component if you want to do it. Use the generic API component and use the Firebase API as described on [https://firebase.google.com/docs/reference/rest/auth](https://firebase.google.com/docs/reference/rest/auth)

---

<div class="post-metadata">

**Author:** ![jpascuet](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jpascuet](https://community.thunkable.com/u/jpascuet)\
**Post date:** [November 1, 2020, 1:23am UTC](https://community.thunkable.com/t/firebase-idtoken/39240/9 "2020-11-01T01:23:57Z")

</div>

Hi @marioishikawa,  
I read the firebase API but I don’t found how to get the registration token, needed to send a notification to a specific device.  
Can you send us how to get this token with the API?

Best regards,  
Juan Pascuet

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [November 1, 2020, 1:47am UTC](https://community.thunkable.com/t/firebase-idtoken/39240/10 "2020-11-01T01:47:39Z")

</div>

You can send notifications to a single device using OneSignal but not Firebase.

> [@Sending Notification to Specific User with Onesignal](http://community.thunkable.com/t/sending-notification-to-specific-user-with-onesignal/150022):
>
> Hi All, The Thunkable X documentation only shows you the possibility of using OneSignal to send notifications on bulk to your list of subscribed or active users. However many applications require the ability to send a notification to a specific user based on an action that occurs within the app. For example when I request an Uber, a notification is sent directly to me when my Uber is one minute away. We can do similar with OneSignal and Thunkable by doing the below (Note: you can’t live test P…

---

<div class="post-metadata">

**Author:** ![jpascuet](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jpascuet](https://community.thunkable.com/u/jpascuet)\
**Post date:** [November 1, 2020, 11:29am UTC](https://community.thunkable.com/t/firebase-idtoken/39240/11 "2020-11-01T11:29:07Z")

</div>

But, in Firebase is possible to call the URL [fcm.googleapis.com/fcm/send](http://fcm.googleapis.com/fcm/send) and send a notification to specific user, if yo uhave the registration token.  
I want to know how to access this registration token from thunkable. There are many documentation about how to obtain them in an Android Studio project, but not from Thunkable project.

My idea is to sent notification from my website (not an web app, is a regular html/asp site), so to do that I want to call [https://fcm.googleapis.com/fcm/send](https://fcm.googleapis.com/fcm/send) with all security parameters. But, my problem is I don’t know how to get the registration token, needed to specify a single device.

Am I clear? My english is limited

Regards

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:39am UTC](https://community.thunkable.com/t/firebase-idtoken/39240/12 "2024-11-08T11:39:05Z")

</div>


