Firebase, Authentication and User Management, Change password


#1

Hello friends
How can I do the procedure of the link below in App Inventor or Kodular using JSON, CURL and request and response.
https://firebase.google.com/docs/reference/rest/auth?hl=pt-br#section-change-password

Sample request

curl ‘https://identitytoolkit.googleapis.com/v1/accounts:update?key=[API_KEY]
-H ‘Content-Type: application/json’
–data-binary
‘{“idToken”:"[ID_TOKEN]",“displayName”:"[NAME]",“photoUrl”:"[URL]",“returnSecureToken”:true}’

I don’t know what sequence of blocks I have to assemble to send the Sample request. I also don’t know how to get the response.

I look forward to a response when possible, Thanks.


#2

see here


and this example

Taifun


#3

@Taifun
Is it possible to manage Firebase database by curl ?


#4

what about just trying to find it out yourelf?
Taifun


#6

@Taifun Sorry for the inconvenience, I’m learning.
I tryed Get user’s data using CURL from FireBase Auth.

Link documentation

curl ‘https://identitytoolkit.googleapis.com/v1/accounts:lookup?key=[API_KEY]
-H ‘Content-Type: application/json’ --data-binary ‘{“idToken”:"[FIREBASE_ID_TOKEN]"}’

I didn’t get a response from KIO4_Terminal.
Could someone help me find out what I’m missing? Thanks.


#7

you might want to ask the author of that extension
you can meet him in the Kodular community…
https://community.kodular.io/u/juananton1991/summary
Taifun