From fd26ac9a3d3fc686935186242e4fba13eb6c31d4 Mon Sep 17 00:00:00 2001 From: Swaraj Pal Date: Sun, 13 Aug 2023 20:48:00 +0530 Subject: [PATCH] Remove password grant from OAuth2 configuration Fix #4618 --- .../infrastructure/primary/OAuth2Configuration.java.mustache | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/OAuth2Configuration.java.mustache b/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/OAuth2Configuration.java.mustache index 391cf375f39..e3d758cf7f0 100644 --- a/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/OAuth2Configuration.java.mustache +++ b/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/OAuth2Configuration.java.mustache @@ -29,7 +29,6 @@ class OAuth2Configuration { .authorizationCode() .refreshToken(builder -> builder.clockSkew(Duration.ofMinutes(1))) .clientCredentials() - .password() .build() );