Relative Content

Tag Archive for djangoangularangular-http-interceptorsangular17django-rest-framework-jwt

JWT refresh in Angular 17

My backend is Django restframework. when I give my credentials it gives me tokens which are consist of refresh and access tokens. In my backend my access_tokens expiration time is 2 minutes(just for testing but will increase till 15 minutes). and refresh_tokens expiration time is 15 days. when my access_token expires I send my refresh_token to fetch new access_token(only provides access_token).