Closed thedrow closed 10 years ago
Could you be more specific ?
I implemented with success OAuth2 auth. Here a sample of code:
header = {'Authorization': 'Bearer {}'.format(access_token)}
# Save new access token to session and in current thread
set_roa_headers(request, header)
Is it your question ?
And if it's in the query string?
If your auth data are shared by every user, you can set settings.ROA_CUSTOM_ARGS
(http://code.larlet.fr/django-roa/wiki/Development#!developing-with-django-roa).
If not, we have to implement a process like set_roa_headers/get_roa_headers
which stores data in user session.
Is there an authentication mechanism for django-roa?