# No expire time in refresh token

**URL:** <https://forum.keycloak.org/t/no-expire-time-in-refresh-token/25443>\
**Category:** Getting advice\
**Tags:** authentication\
**Created:** [April 8, 2024, 10:00am UTC](https://forum.keycloak.org/t/no-expire-time-in-refresh-token/25443 "2024-04-08T10:00:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivastorm](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/shivastorm/32/10178_2.png) [@shivastorm](https://forum.keycloak.org/u/shivastorm)\
**Post date:** [April 8, 2024, 10:00am UTC](https://forum.keycloak.org/t/no-expire-time-in-refresh-token/25443/1 "2024-04-08T10:00:30Z")

</div>

Hi experts,

I’m using key cloak 22 version in my Web and mobile application. In Webapp I am getting one refresh token which has expire time. But in mobile I am getting the refresh token without expire time.

have enclosed the decoded version of the refresh token.

 ![Screenshot 2024-04-08 at 3.28.27 PM](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/5/582965705d082b86f93d7ffa18dc40be14e89e0f.png)

kindly help me on this, experts  
thanks  
siva.

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [April 8, 2024, 10:47am UTC](https://forum.keycloak.org/t/no-expire-time-in-refresh-token/25443/2 "2024-04-08T10:47:48Z")

</div>

This is not a pure refresh token, this is an offline token (`"typ": "Offline"`).  
The authentication was initiated with the `offline_access` scope (see `scope` claim in token).

---

<div class="post-metadata">

**Author:** ![shivastorm](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/shivastorm/32/10178_2.png) [@shivastorm](https://forum.keycloak.org/u/shivastorm)\
**Post date:** [August 27, 2024, 7:46am UTC](https://forum.keycloak.org/t/no-expire-time-in-refresh-token/25443/3 "2024-08-27T07:46:08Z")

</div>

Thank you for your help @dasniko, I will use this insight.
