B4J Question How do I secure REST API calls?

ilan

Expert
Licensed User
Longtime User
i am working on a b4j web app API that will allow users to return information after they logged in. what would be the best way to make those calls?

i want to be able to make the calls through a web browser or b4x client app.

thanks

EDIT: i found this: https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426/#content but for this the user will need a google account. how would it look like if the authentication could be by using a private email address + password?
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Google OAuth is not relevant.

 
Upvote 0

ilan

Expert
Licensed User
Longtime User
wow, thank you very much for this. i will have a look at it. i think this is what i was looking for.
it should also work with b4a/b4i apps right?
 
Upvote 0
Top