Skip to content
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

Add support for authenticated requests #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add support for authenticated requests #17

wants to merge 1 commit into from

Conversation

chrisfranklin
Copy link

This uses cookies to store a token for token_authentication as described in the django-restframework documentation. This can be used with angular-django-registration-auth and django-rest-auth which makes it easy to integrate Angular and Django.

This works for me although I don't need to handle unauthenticated requests, if you need to handle both it would be worth testing and making sure it works.

This uses cookies to store a token for token_authentication as described in the django-restframework documentation. This can be used with angular-django-registration-auth and django-rest-auth which makes it easy to integrate Angular and Django.
@JustinTArthur
Copy link
Contributor

Cool, I like the idea of supporting DRF's token auth. I'll test to make sure it will work for everyone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants