Issue with Token Expiration Time When Using Google Authentication

System Information
  • Strapi Version: 4.15.5
  • Operating System: Apple M1
  • Database: PostgreSQL
  • Node Version: 18.18.0
  • NPM Version: 9.8.1
  • Yarn Version: 1.22.10

Problem

I’ve set the token expiration time to 2 minutes for testing purposes, and it works correctly when logging in with credentials. However, when authenticating with the Google provider, the token still seems to have a default expiration time of one month. Is there a way to enforce the expiration time I configured when using Google authentication, or is this managed differently by Google?

config/plugins.js

 "users-permissions": {
    config: {
      jwt: {
        expiresIn: "2m",
      },
    },
  }