Skip to content

[Question] How to tell if a user was created or existing #701

@cridenour

Description

@cridenour

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions