Open CloudNiner opened 6 years ago
Should users need to refresh a token to have on, or be given a token on account creation?
A token is automatically created when you hit /api-token-auth/
for the first time with valid credentials, which is the way the application will actually use tokens. I don't expect us to actually use these views, so this can be deferred, but if we do want to address this we'll likely want to create a token for each user when the user is created.
A token should be created with the user.
Users created via the registration flow or via the DRF API endpoint will have a token.
Clicking the "refresh token" button in the UI throws:
https://rollbar.com/Azavea/ClimateChange/items/82/