I created a native type app, and although the refresh token is set to be valid for 90 days, the session is only valid for 14 days, resulting in the user having to log in again after 14 days, which creates a bad experience because other apps are valid for a long time with a single login
我创建了一个原生类型的应用,虽然设置了refresh token有效时间为90天,但是会话的有效时间只有14天,导致14天后用户必须重新登录,这带来了不好的体验,因为其他app都是一次登录长久有效的
Describe what you'd like Logto to have
I wish I could set the length of time the app's session is valid, I can set the session to be permanent
希望能能设置应用的会话有效时长,我可以设置会话永久有效
Could you please provide the setup of your auth system? So that we can try to reproduce this issue. By looking into the code, seems this should not happen.
What problem did you meet?
I created a native type app, and although the refresh token is set to be valid for 90 days, the session is only valid for 14 days, resulting in the user having to log in again after 14 days, which creates a bad experience because other apps are valid for a long time with a single login 我创建了一个原生类型的应用,虽然设置了refresh token有效时间为90天,但是会话的有效时间只有14天,导致14天后用户必须重新登录,这带来了不好的体验,因为其他app都是一次登录长久有效的
Describe what you'd like Logto to have
I wish I could set the length of time the app's session is valid, I can set the session to be permanent 希望能能设置应用的会话有效时长,我可以设置会话永久有效