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

Authentication #89

Open
samcool2010 opened this issue Sep 6, 2017 · 0 comments
Open

Authentication #89

samcool2010 opened this issue Sep 6, 2017 · 0 comments

Comments

@samcool2010
Copy link

Currently Barnyard is left open if you know the correct api to call.

@login_required only protects the page from the html side and does not protect the actual api/resources

I will post links below that will help us build our own token authentication

https://blog.miguelgrinberg.com/post/restful-authentication-with-flask

https://github.com/miguelgrinberg/REST-auth

https://github.com/miguelgrinberg/REST-auth/blob/master/api.py

https://realpython.com/blog/python/token-based-authentication-with-flask/

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

No branches or pull requests

1 participant