I apologize if I missed this somewhere in the docs or code - but does there currently exist a way to tell if the user that is returned through do_auth is an existing or new user? I currently use do_auth to generate a token using DRF and would like to return 201 if they are new. I could set up a signal for any server side code but it would be nice to let the client know as well.
Thanks!
I apologize if I missed this somewhere in the docs or code - but does there currently exist a way to tell if the user that is returned through do_auth is an existing or new user? I currently use do_auth to generate a token using DRF and would like to return 201 if they are new. I could set up a signal for any server side code but it would be nice to let the client know as well.
Thanks!