I've implemented the workaround based on Spring Boot
https://github.com/b3lowster/templates/tree/main/google_auth_add_params