DJOSER Transfer AuthToken from headers to JSON requests
up vote
0
down vote
favorite
Is it possible to check the user's authorization by JSON request, and not by the field in the header?
Authorization: JWT 24ads654asd15sad -> "token":"24ads654asd15sad"
rest django-rest-framework djoser
add a comment |
up vote
0
down vote
favorite
Is it possible to check the user's authorization by JSON request, and not by the field in the header?
Authorization: JWT 24ads654asd15sad -> "token":"24ads654asd15sad"
rest django-rest-framework djoser
Yeah, but you cannot use get method and should use post method
– Mohammad Ali
Nov 10 at 5:13
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Is it possible to check the user's authorization by JSON request, and not by the field in the header?
Authorization: JWT 24ads654asd15sad -> "token":"24ads654asd15sad"
rest django-rest-framework djoser
Is it possible to check the user's authorization by JSON request, and not by the field in the header?
Authorization: JWT 24ads654asd15sad -> "token":"24ads654asd15sad"
rest django-rest-framework djoser
rest django-rest-framework djoser
asked Nov 9 at 19:47
exovirus3211
1
1
Yeah, but you cannot use get method and should use post method
– Mohammad Ali
Nov 10 at 5:13
add a comment |
Yeah, but you cannot use get method and should use post method
– Mohammad Ali
Nov 10 at 5:13
Yeah, but you cannot use get method and should use post method
– Mohammad Ali
Nov 10 at 5:13
Yeah, but you cannot use get method and should use post method
– Mohammad Ali
Nov 10 at 5:13
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232381%2fdjoser-transfer-authtoken-from-headers-to-json-requests%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Yeah, but you cannot use get method and should use post method
– Mohammad Ali
Nov 10 at 5:13