B4A Library FirebaseAuth - Authenticate your users

Status
Not open for further replies.

jazzzzzzz

Active Member
Licensed User
Longtime User
I have initialised in Starter Service_Create, now when I log out and login the success event callback came more than 1 time for a single login click..
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
v1.02 was uploaded to the first post. It adds a GetUserTokenId method. This method retrieves a temporary token id that can be used to verify the user on your backend server: https://www.b4x.com/android/forum/t...ckend-verification-for-signed-in-users.68672/

B4X:
Sub Auth_SignedIn (User As FirebaseUser)
   Log("SignedIn: " & User.DisplayName)
   CallSub(Main, "SetState")
   Log(User.Uid)
   Log(User.Email)
   auth.GetUserTokenId(User, False)
End Sub

Sub Auth_TokenAvailable (User As FirebaseUser, Success As Boolean, TokenId As String)
   Log(TokenId)
   'send tokenid to server
End Sub
 

Daniel-White

Active Member
Licensed User
Longtime User
Hi folks.

Firebase Auth, has the service to auth using Email/Password (simple without Oauth). Can I use this firebase lib of B4A not for use Oauth , I would like to use the simple Email and password to give access to firebase Storage.


or?? another way to accomplish my idea.

Can I use this lib, and always give the same credentials to access the firebase storage, using Oauth?, I know it is bad idea put passwords etc in hardcode. the idea is allow my APP to send anonymous information to File server (and don't bother the end user to ingress credentials), I would like the APP upload files without need ask credentials to end user , anyway, it will be anonymous information in the firebase storage.

Thanks youuuuuuuuuuuuuuu
 

awakenblueheart

Member
Licensed User
Longtime User
I got "connection failed." on the log. Help me to configure pleazzz...
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Firebase Auth, has the service to auth using Email/Password (simple without Oauth). Can I use this firebase lib of B4A not for use Oauth , I would like to use the simple Email and password to give access to firebase Storage.
B4A FirebaseAuth currently supports two authentication methods: Google and Facebook. There is no support for email / password authentication.

Please start a new thread for the question about FirebaseStorage.
 

islander

Member
Licensed User
Is there any chance or plan on supporting email/password authentication sooner or later though?

I would love to have it too.

B4A FirebaseAuth currently supports two authentication methods: Google and Facebook. There is no support for email / password authentication.

Please start a new thread for the question about FirebaseStorage.
 
D

Deleted member 103

Guest
You can find this value under Tools - Private Sign Key, in the signature field:
but I can not find "sha1", I only have this view.

 
D

Deleted member 103

Guest
You can resize the window. make it higher.....
Danke Manfred!
Auf diese idee wäre ich nicht gekommen.
Ich habe es aber mit diese Hilfe gefunden.

Thanks Manfred!
In this idea I had not come.
But I have it with this help found
 

jtare

Active Member
Licensed User
Longtime User
Erel, do I need my own server to authenticate users? It is possible to create some type of list in the firebase console to only allow user that I manually input?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

fredo

Well-Known Member
Licensed User
Longtime User
Edit: Now integrated by @DonManfred in the Auth lib. See here

_____
...(more identity providers will be added in the future).

Will the new Sign-In provider Firebase Anonymous Authentication be available in the near future?


As introduced by the Firebase Team here it comes with many advantages for the developer and user:
  • A user can be logged in programmaticaly without asking him for credentials
  • The user will be identified for all Firebase services by means of an universal identifier (uid)
  • Later this uid can be merged with any other Login method

 
Last edited:

johndb

Active Member
Licensed User
Longtime User
+1 on adding this feature to the B4A Library. This would be extremely useful for my current apps in development.
Additionally, any progress on when email / password authentication will be available?

Thank you,

John
 

DonManfred

Expert
Licensed User
Longtime User
+1 on adding this feature to the B4A Library

Erel gave me the source of the lib so i can add them ;-)
I m working on it...

Additionally, any progress on when email / password authentication will be available?
Will check to add this too
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…