-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token support #504
Token support #504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, apart the typo.
ihatemoney/tests/tests.py
Outdated
) | ||
decoded_resp = json.loads(resp.data.decode("utf-8")) | ||
resp = self.client.get("/authenticate?token={}".format(decoded_resp["token"])) | ||
# Test that We are readirected am redirected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo : test that we are redirected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready @almet
Added API support to generate authentication tokens, at `/api/projects/:id/token`
Added API support to generate authentication tokens, at `/api/projects/:id/token`
Fixed changes advised by @almet in #500