boundary
boundary copied to clipboard
Boundary App Indefinite Session Time
Describe the bug The Boundary app session does not have an expiration date and remains active indefinitely. However, if the user doesn't use the app for 24 hours and then tries to access it, they will not be prompted to authenticate. This can be a potential security issue, and it is recommended to prompt users to authenticate after a certain period of inactivity to enhance security.
I followed the documentation here you can change this via auth_token_time_to_stale and set time to 4 hours but it seems to only take effect on web UI, the changes did not affect the application.

To Reproduce
- change via auth_token_time_to_stale
- Set time to preferred duration
- Monitor app after the time expires for auto-logout
Additional context I have tested this on both prod and sandbox and produces the same result
Hi @pwill1, just to ensure we have the correct reproduction steps, can you send the following information:
- What version of Boundary are you running?
- On what interface are you experiencing this issue? The CLI? Desktop Client? I want to make sure I understand what you mean by "monitor the app".
The screenshot you shared shows a 403 error indicating the user does not have permission to access the web ui pages, suggesting the token expiration is being enforced appropriately.
Appreciate your help!
@PPacent See responses below
- Boundary Version on both sandbox and production: 0.11.2
- Issue is related to the Boundary Desktop Client