Hey Team, I'm trying to implement a “session exten...
# ory-network
c
Hey Team, I'm trying to implement a “session extension / refresh” functionality, but when we try to call this endpoint
/self-service/login/browser?refresh=true
the response we got is to reenter the user’s password which is not the desired outcome. Our sessions lifespan is set to 30m and the earliest_possible_extend is set to 5m. We are displaying a modal with a CTA to extend the session and this is when we send the mentioned API calls. Is it possible to extend the current session and obtain a new cookie without reentering the user’s credentials? I’ve seen that there is an administrator’s extend session API but will it provide a new cookie that we can send to the user?
l
If you are a “Session” cookie (no specific expiry), then you shouldn’t need a new cookie.
c
Thanks. will try this