Want to know, How to Authorization firebase realtime database, httprequest in Flipabit?

httprequest for firebase realtime database ,
How to make authorization?

Thanks.

Thank you very very much for the video you make.

I have done the email password sign in,

could you please show me how to httprequest GET ?

testing on mobile phone with
https://zfrdb-ae7d5-default-rtdb.firebaseio.com/posts.json?orderBy=“author”&equalTo=“Tom Bower”
is OK, while firebase realtime database rule is
{
“rules”: {
“.read”: true,
“.write”: true,

"posts": {
  ".indexOn": ["author"]
}    

}
}

tested on mobile phone, after sign in email password to firebase.
https://zfrdb-ae7d5-default-rtdb.firebaseio.com/posts.json?orderBy=“author”&equalTo=“Tom Bower”
is not OK, while fireabase database rule is
{
“rules”: {
“.read”: “auth != null”,
“.write”: “auth != null”,

"posts": {
  ".indexOn": ["author"]
}   

}
}

Best wishes,

файлы общедоступны и доступны для записи
files are public and writable

“.read”: true,
“.write”: true,

Они полезны, если вы хотите, чтобы данные были открыты для всех пользователей вашего приложения, но не хотят, чтобы он был открыт для всего мира.
They are useful if you want the data to be open to all users of your application, but do not want it to be open to the whole world.

“.read”: “auth != null”,
“.write”: “auth != null”,

Вы авторизовываетесь в FireBase через встроенный SDK, а информацию пытаетесь получить через сторонний httprequest.
httprequest применять не нужно, FireBase является встроенным SDK, Вам нужно просто работать с самой БД в программе.

You log in to FireBase through the built-in SDK, and try to get information through a third-party httprequest.
There is no need to use httprequest, FireBase is a built-in SDK, you just need to work with the database itself in the program.

1 Like

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.