When user installs ADN, "thank-you.html" should open to welcome new user, create a token for him and let him choose a faction.
It appears that this scheme fails for 2/5 users. I lost ~400 possible users because of that.
I could not replicate it, but I must create new user in background.js instead of thank-you.js and ensure that user has a "secret" token before every POST request.
When user installs ADN, "thank-you.html" should open to welcome new user, create a token for him and let him choose a faction.
It appears that this scheme fails for 2/5 users. I lost ~400 possible users because of that.
I could not replicate it, but I must create new user in background.js instead of thank-you.js and ensure that user has a "secret" token before every POST request.