|
@ -88,7 +88,7 @@ public class BasicZuulFilter extends ZuulFilter {
|
|
|
}
|
|
|
OAuth2AccessToken oAuth2AccessToken = tokenStore.readAccessToken(accessToken);
|
|
|
if (null == oAuth2AccessToken) {
|
|
|
return this.forbidden(ctx, ResultStatus.INVALID_GRANT, "invalid token");
|
|
|
return this.forbidden(ctx, ResultStatus.ERROR_TOKEN, "invalid token");
|
|
|
}
|
|
|
if (oAuth2AccessToken.isExpired()) {
|
|
|
return this.forbidden(ctx, ResultStatus.ERROR_TOKEN, "expired token");
|