Похожие чаты

2.Sends request to refresh token 3.send request #1 to fetch

data again .
.....
So is it normal or the best way ?

3 ответов

7 просмотров

I‘d say using an access_token in combination with a refresh_token is quite normal for secure api development. Considering of course both is implemented correctly. That one request really should not hurt. Theoretically the app could even know (time) that the token is no longer valid before sending the request, that should prevent most requests. And then if there still are a couple requests and the BE returns a 401 it would also not hurt... But let‘s ask from the other side first. How would you do it?

Ali-Ghasemi Автор вопроса
PmA
I‘d say using an access_token in combination with ...

I dont do it . Because this scenario ombiguous for me !

PmA
I‘d say using an access_token in combination with ...

but session based implementation is better than token based is that right?

Похожие вопросы

Карта сайта