---
sourceDocument: Australia Mobile Configuration and Navigation
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/mobile

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Mobile Configuration and Navigation

ft:clusterId :

    - mobile

bundleId :

    - mobile

workflow :

    - Development, Data and Analytics


---

# App token lifespan

# Configure mobile app token lifespan {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Configure the length of time it takes for the app to time out.

## Antes de Iniciar

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

Mobile apps timeout when their associated OAuth token expires. Token lifespans are considered active if the app is in the foreground or if the app is processing a long running task in the background.

## Procedimento

Configure the OAuth entity for a mobile app.

1. Navigate to System OAuthApplication Registry and open the OAuth entity for the application you want to modify.  
   For example, open the ServiceNow Agent record to modify the timeout for your Mobile Agent. To modify the timeout for your Now Mobile app, open the ServiceNow Request record.
2. In the Refresh Token Lifespan field, change the number in seconds to the amount of time the refresh token is valid.
3. In the Access Token Lifespan field, change the number in seconds to the amount of time the access token is valid.
{#configure-mobile-app-timeout__substeps_zlr_y21_lbb}

## Resultado

For example, if you want the mobile app's token to expire after 30 minutes, use the following configuration.{#configure-mobile-app-timeout__table_ylk_vdy_mbb__entry__2}

| Configuration point | Setting |
|-|-|
| Refresh Token Lifespan for the Mobile Agent mobile app or the Now Mobile app | 1800 seconds |
| Access Token Lifespan for the Mobile Agent mobile app or the Now Mobile app | 1800 seconds |
[ ]

{#configure-mobile-app-timeout__table_ylk_vdy_mbb}

## O que Fazer Depois

Sign out and sign back in to the mobile app. Otherwise the app uses the previously granted sessions and tokens.

