rdmo
rdmo copied to clipboard
Create user Token using an API
Rationale / Begründung
- Users should be able to create a Token using
/api/v1/accounts/token/
. - Admins and scripts should be able to create tokens for users
/api/v1/accounts/users/<id>/token/
Affected
Users, Managers, Admins
References / Verweise
- https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication