title: How to get User ID when using Basic Auth and Session plugins are enabled in Kong?
body: <p>I'm currently using Kong API gateway. After using logging in and retrieving a session. The username is not forwarded to the backend service. How do I get the username from the session token provided by Kong?</p>
  <p>plugins:</p>
  <ul>
  <li>name: basic-auth
  service: login-service
  config:
  hide_credentials: true</li>
  <li>name: session
  service: login-service
  config:
  secret: opensesame
  cookie_samesite: Lax</li>
  </ul>