|
@@ -101,6 +101,10 @@ public class SingleSignOnInterceptor implements AsyncHandlerInterceptor {
|
|
|
logger.debug("appId {}",appId);
|
|
logger.debug("appId {}",appId);
|
|
|
app = appsService.get(appId,true);
|
|
app = appsService.get(appId,true);
|
|
|
}else if(requestURI.contains("/authz/oauth/v20/authorize")) {//oauth
|
|
}else if(requestURI.contains("/authz/oauth/v20/authorize")) {//oauth
|
|
|
|
|
+ if(request.getMethod().equalsIgnoreCase("POST")) {
|
|
|
|
|
+ logger.trace("Skip OAuth 2 authorize approval POST .");
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
app = appsService.get(request.getParameter(OAuth2Constants.PARAMETER.CLIENT_ID),true);
|
|
app = appsService.get(request.getParameter(OAuth2Constants.PARAMETER.CLIENT_ID),true);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|