Silent Authentication on Ruby on Rails / Regular Web Apps

Hello, we are trying to implement a feature to extend the session using inactivity timer as described in https://auth0.com/docs/sessions-and-cookies.

Our application is a Regular Web App using Ruby on Rails. Our Auth0 integration is the one described in the Quickstart guide.

  • What is the endpoint we need to call to extend the session?
  • Should we be calling this endpoint with every request to our server?

From our reading, we need to configure silent authentication (https://auth0.com/docs/authorization/configure-silent-authentication). To achieve this we tried to use /authorize with prompt=none. But how is does Auth0 understand for with user this is?

Thank you