Browse Source

增加scope默认值

zhouhao 7 years ago
parent
commit
85647768e4

+ 1 - 1
hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-client/src/main/java/org/hswebframework/web/authorization/oauth2/client/simple/session/DefaultOAuth2Session.java

@@ -44,7 +44,7 @@ public class DefaultOAuth2Session implements OAuth2Session {
 
     protected AccessTokenInfo accessTokenInfo;
 
-    protected String scope;
+    protected String scope = "";
 
     private Consumer<AccessTokenInfo> onTokenChange;