We are beginning our Ory implementation and have a...
# ory-network
l
We are beginning our Ory implementation and have a question. We have both a web app and mobile apps and wish to have separate expirations for sessions. Is this possible? Currently, our mobile apps have perpetual sessions, while the web app session will have a much shorter lifespan (max 30 days). There was nothing in the docs that I could find which illustrated this as an option.
p
Hi @lively-thailand-60415 There isn't a distinction in Ory between the native and browser session lifespan. However, what you could do is extend the session for native apps on your backend through the admin API. https://www.ory.sh/docs/kratos/session-management/refresh-extend-sessions#refreshing-sessions-as-administrator
l
@proud-plumber-24205 Thanks! That's the option we were considering. Appreciate you confirming it as viable.