A
A
Andrey Unger2014-04-12 14:12:49
OAuth
Andrey Unger, 2014-04-12 14:12:49

Authorization in RESTfull

Gentlemen, tell me how to be with the token? Let's say a service client logs in through, say, OAuth and receives a token by which the server identifies it.
So how is this token stored on the server? After all, writing it, for example, into the database is not very safe, because if someone intercepts it, they can go under it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Warlock2, 2014-09-05
@Warlock2

Any HTTP request can be intercepted (listened). Though it is REST, though RPC. If it is scary to drive a token between the server and the client (cookie or query parameter), then you need to encrypt everything, for example, use HTTPS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question