From bfbbeecb2195528e4c38d8e13034115c49be211e Mon Sep 17 00:00:00 2001 From: Michel Jung Date: Wed, 16 May 2018 13:14:20 +0200 Subject: [PATCH] Allow form authentication for OAuth clients Earlier, only Basic Authentication was allowed but since the oauth lib used by the client (passport-oauth2) only supports form authentication, we enable this, too. --- .idea/codeStyles/Project.xml | 1 + build.gradle | 2 +- .../config/security/WebSecurityConfig.java | 47 +++++++++---------- .../OAuthAuthorizationServerConfig.java | 15 +++--- .../security/OAuthClientDetailsService.java | 2 + 5 files changed, 33 insertions(+), 34 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index d01235544..e77b02549 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -39,6 +39,7 @@ +