I assume I can’t use user.create\user.login api because I won’t ask user to provide password, I want to use facebook userId and access token only
Basic flow:
-
In mobile app I’ll use facebook plugin to login.
-
After user logged in on device I push access_token and FB user Id to my custom API
-
From server side I can now check if this access_token is valid and match user id (via graph.facebook.com/…)
-
After validation I will check if username “facebook_{userid}” exists in mysql, create it if not exist
-
Use mysql to store additional user data
So should I manually create new records for coronium database, cc_users table? Because with it I can view users statistic in webmin. But downside is that I should fill password (and probably some other columns) with trash data - because I’m not using them, but they are required.
Another way is to create new table for my users in coronium db. Then I’ll have full control on it, but lose webmin visualization. And I wonder: can future updates affect tables created in coronium database?
Thanks for reading this wall of text
Any thoughts?