, Oauth, grant_type = .
, , , HTML.
<form id="user_form" method="get" action="Your Oauth Authorize URL"
enctype="multipart/form-data">
Client_id: <input type="text" name="client_id" value="" size="100" />
<br />
Redirect Ui:<input type="text" name="redirect_uri" value="Your redirect_uri">
<br />
<input type="hidden" name="response_type" value="token">
{% csrf_token %}
<input type="submit" value="submit" />
, , :
Oauth, .
, URL , Uri:
HTTP:// YourRedirectUri/# expires_in = ExpirationTime & = & token_type = & = & access_token = VALUEOFTHETOKEN