Skip to content

Comments on how secure this method is? #1

@typeshige

Description

@typeshige

Great tutorial. I learned a lot but I was wondering if you could say something about how secure this is and what might need to change to use this in production.

Also, in the tutorial, shouldn't the urls be:

$ curl localhost:8000/api/users/i/
$ curl -X POST -d "username=user&password=pass" localhost:8000/api/obtain-auth-token/
$ curl -H "Authorization: Token {your token here}" localhost:8000/api/users/i/

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