SteamDBAPI / frontend

The API front-end for SteamDBAPI service
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Authentication #1

Open PegasusPrime opened 9 years ago

PegasusPrime commented 9 years ago

If we use Django, we can use oauth. I found a good tutorial/repo with example code

http://www.madewithtea.com/simple-todo-api-with-django-and-oauth2.html and https://github.com/jpzk/django-todo

edwardslabs commented 9 years ago

Oauth may complicate things a bit. Generating a secret key for each user may be better. In testing maybe we just make a single app_id.

PegasusPrime commented 9 years ago

I really like this auth code (https://github.com/miguelgrinberg/REST-auth/blob/master/api.py) since it can use tokens. I don't like how much code is required just to get an auth token but I don't see many solutions