Updates Dependencies and Removes Fixes Minor Buts
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -55,7 +55,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<version>42.5.0</version>
|
<version>42.5.1</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ public enum OAuthMapEnum {
|
|||||||
|
|
||||||
GITHUB(GithubOAuthMap.class, Provider.GITHUB);
|
GITHUB(GithubOAuthMap.class, Provider.GITHUB);
|
||||||
|
|
||||||
private Class oAuthMap;
|
private final Class oAuthMap;
|
||||||
|
|
||||||
private Provider provider;
|
private final Provider provider;
|
||||||
|
|
||||||
private OAuthMapEnum(Class oAuthMap, Provider provider) {
|
private OAuthMapEnum(Class oAuthMap, Provider provider) {
|
||||||
this.oAuthMap = oAuthMap;
|
this.oAuthMap = oAuthMap;
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ public class OAuthRequestRepository implements AuthorizationRequestRepository<OA
|
|||||||
public void saveAuthorizationRequest(OAuth2AuthorizationRequest authorizationRequest, HttpServletRequest request, HttpServletResponse response) {
|
public void saveAuthorizationRequest(OAuth2AuthorizationRequest authorizationRequest, HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
|
||||||
String state = authorizationRequest.getState();
|
String state = authorizationRequest.getState();
|
||||||
log.info(state);
|
|
||||||
|
|
||||||
request.getSession().setAttribute(
|
request.getSession().setAttribute(
|
||||||
String.format("state_%s", state),
|
String.format("state_%s", state),
|
||||||
|
|||||||
Reference in New Issue
Block a user