V
V
vladislavprozorovskiy2018-05-15 13:59:38
HTTP Cookies
vladislavprozorovskiy, 2018-05-15 13:59:38

How to implement token-based authentication?

Good afternoon. You need to implement authentication using a token-based http scheme in React. There is an API in which the following methods:

list
GET /api/todos/
create
POST /api/todos/
read
GET /api/todos/{id}/
update
PUT /api/todos/{id}/
partial_update
PATCH /api/todos/{id}/
delete
DELETE /api/todos/{id}/
users 
create
POST /api/users/
login > create
POST /api/users/login/

As a result, a todo list and user authorization should appear. I can handle todo, I’m here how to start with authorization and which side to approach, I can’t even imagine. I would be happy with links to resources

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2018-05-15
@vladislavprozorovskiy

How to implement user authorization on React Redux Node stack?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question