DEV Community

Discussion on: What is the usual flow in authenticating a Client Application with a Token based REST API?

 
skyrpex profile image
Cristian Pallarés

The issue is about letting the JS have access to any kind of credentials. Traditional session cookies are usually http only for that matter. The same applies to access tokens or refresh tokens.

It's just about avoiding attack vectors.