Hey @mvandrei, try this workflow.
- Get the user to login
- Show a button to connect Google/Facebook (You will have to use the API connector plugin to your Google App/Facebook App)
- Fetch the token, and make changes to the “User” record on your database for the “current user”
- Reuse the token for any API calls and then Refresh/ReAuthenticate when expired
See if the below post would help you build the API connector.
2 Likes