I am trying to make a basic mobile app where the phone number is the identifier and the user receives a pin which they use to do one time authentication. I have everything setup and working. The only issue is that simple_token_authentication returns an authentication token when registering but I don't want the user to have a token until they have returned the pin. Essentially, how do you separate it so that you can create a user without signing them in?
I am trying to make a basic mobile app where the phone number is the identifier and the user receives a pin which they use to do one time authentication. I have everything setup and working. The only issue is that simple_token_authentication returns an authentication token when registering but I don't want the user to have a token until they have returned the pin. Essentially, how do you separate it so that you can create a user without signing them in?