In our app we have a two-step registration process. First the user needs to enter and verify his email, then he will need to set some additional data like his name and a password.
Also, and this is important, he need to accept our terms and conditions by checking the corresponding checkbox.
That’s working fine!
Now I want to add registration / login with Google and Facebook (using the official packages accounts-*). Login works just fine. But in case the user logs in the very first time (= sign up) we also need to force the user to accept our terms and conditions before using the app.
In contrast to the normal registration process the user gets logged in immediately. The only solution I came up with would be to not let him use the app until he accepted the terms. But in that case I need to check this condition on every single action of the user, client and server side. I can’t just rely on the logged in state anymore.
Does anyone has an idea how to solve that elegantly? I didn’t find a reasonable solution.