Imagine the scenario:
1) User opens my app and do login using firebase (google or facebook).
Then the app gets a token from firebase.
2) Users create some data.
3) App send created data, email and token to my server b4x. On b4x I check if the token is valid and if it matches the email sent.
Question: My app should send token and email for every request made to my b4x server?
What would be the best practice?
Thank.
1) User opens my app and do login using firebase (google or facebook).
Then the app gets a token from firebase.
2) Users create some data.
3) App send created data, email and token to my server b4x. On b4x I check if the token is valid and if it matches the email sent.
Question: My app should send token and email for every request made to my b4x server?
What would be the best practice?
Thank.