Authentication between a client-side JavaScript application and a server-side HTTP interface?

I have created some server-side APIs that work via HTTP for my client applications only. So, is it possible to authenticate applications between the client side and the server; And How?

+3
source share
1 answer

There are two options:

  • Session
  • HTTP authentication

, , . , , , , (, ).

HTTP- , ( ) . , 401 Unauthorized, , . , ( ) 200 Found.

+8

Source: https://habr.com/ru/post/1784439/


All Articles