Skip to main content
All CollectionsIntegrations & PluginsRock Plugin
Rock Plugin FAQ & Troubleshooting
Rock Plugin FAQ & Troubleshooting
Cody Walton avatar
Written by Cody Walton
Updated over a week ago

How long does a user stay logged into the mobile app from Rock?

The short answer is two weeks if the app has not been used within that timeframe.​By default, Rock has three different OIDC tokens used in the lifetime of a user’s login. For developer’s reference, this is Rock Core, so it is not configurable.

The first is the Identity Token, which is used during the authentication handshake. Once the user clicks that they want to log in and enters their credentials, that user must finish the entire login process within 20 minutes.

The second is the Access Token. When the access token expires, the application can use the refresh token to obtain a new access token. It can do this behind the scenes, and without the user’s involvement so that it is a seamless process for the user. This token is good for 1 hour.

Lastly, the Refresh Token. This is used to re-authenticate a session to get a new Access token. By default, this token is good for 2 weeks.

I can get to the login screen on the mobile app, but once clicked to login - then it fails.

In Rock, make sure your “Public Application Root - Global Attribute” is correct, and that it starts with “https”.​You can find this Global Attribute if you go to Admin Tools > General Settings > Global Attributes > Public Application Root.

Make sure the Public Application Root value starts with “https://”, and that https is enabled. If you just made this change, make sure to restart Rock before trying again.​

Did this answer your question?