Refresh access token generates new access and refresh token pair which is fine.
New refresh token generates with a next +2 days from current time. which gives +2 more session days.
So thing is if i generate access token on daily basis then user will not be ask for login again.
While generating a new token pair, Need to use same expiration time that old refresh token have.
Refresh access token generates new access and refresh token pair which is fine. New refresh token generates with a next +2 days from current time. which gives +2 more session days. So thing is if i generate access token on daily basis then user will not be ask for login again.
While generating a new token pair, Need to use same expiration time that old refresh token have.