How to get userID after registration to use it as a key in database in thunkable x?

I need user information to be stored in firebase realtime DB in registration with authentification userID as key, so how can I get the userID of the user that has been just created ?

Would also like to know how to do that…

web component with get request rest api

https://docs.thunkable.com/thunkable-cross-platform/create/components/sign-in/sign-in#sign-in

The SignIn method of the Sign In component returns userId.

2 Likes

so I have to use the Sign in method just to get userID ?

Yep, the sign in component is specifically for registering and identifying your users.

2 Likes

You can get user id by sign in

Hi and welcome to Thunkable!

This topic is 5 years old. There’s no need to answer questions that are out of date.