Skip to content

Should we use API tokens? #87

@sanchegm

Description

@sanchegm

Should we use API tokens?

  • While tokens are best utilized for a high number of concurrent users and traffic, basic authentication (only username/password) is not recommended for production environments because of the security risk.
  • It would be in best practice to implement this.

Docs:
https://www.django-rest-framework.org/api-guide/authentication/#generating-tokens

https://simpleisbetterthancomplex.com/tutorial/2018/11/22/how-to-implement-token-authentication-using-django-rest-framework.html

https://www.django-rest-framework.org/api-guide/authentication/

https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions