Re: how to secure api?

2019-08-24 Thread Mohammad Kokhaee
your site > > On Sat, 24 Aug 2019, 09:52 Mohammad Kokhaee wrote: > >> hi guys >> >> >> ??is that secure the signup user api have no permission and have >> no authenticate >> >> >> (allow any ) >> >> >> -- >> You rece

how to secure api?

2019-08-24 Thread Mohammad Kokhaee
hi guys ??is that secure the signup user api have no permission and have no authenticate (allow any ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: JWT Token

2019-08-21 Thread Mohammad Kokhaee
previous email and you should get the response with > profile details. > > On Thu, Aug 22, 2019 at 5:13 AM Mohammad Kokhaee > wrote: > >> Thanks for your explanation >> After the user send the token to server >> What Should I do with the token to

Re: JWT Token

2019-08-21 Thread Mohammad Kokhaee
r of all requests, like this: > > http://127.0.0.1:8000/hello/ "Authorization: Bearer > eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNTQ1MjI0MjAwLCJqdGkiOiJlMGQxZDY2MjE5ODc0ZTY3OWY0NjM0ZWU2NTQ2YTIwMCIsInVzZXJfaWQiOjF9.9eHat3CvRQYnb5EdcgYFzUyMobXzxlAVh_IAgqyvzCE" > > > Thats it! > > And yes its the proper way of doing things! > > Cheers,

JWT Token

2019-08-21 Thread Mohammad Kokhaee
Hello guys I've created token by JWT and My questions 1-how to access to user information by token ? 2-Is that the Right way and is that secure? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

restfamework

2019-08-19 Thread Mohammad Kokhaee
.Hello guys .I want to create alot users with some informations like phone number and etc with api Restframework and I dont know how to do that -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop