code: public SSOConfig autoConfigureUrls(String baseUrl) {
          if(baseUrl.endsWith("/")) {
              baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
          }
          //todo :
          this.setPublicKeyEndpointUrl(baseUrl + "/oauth2/publickey");
          this.setTokenEndpointUrl(baseUrl + "/oauth2/token");
          this.setAuthorizationEndpointUrl(baseUrl + "/oauth2/authorize");
          this.setOauthLogoutEndpoint(baseUrl + "/oauth2/logout");
          this.setTokenInfoEndpointUrl(baseUrl + "/oauth2/tokeninfo");
          return this;
      }
docs: 指定SSO服务器的基础地址,自动配置其他的地址属性。
  
  <p/>
  示例:
  <pre>
  
  String baseUrl = "https://sso.example.com/v3/oauth2";
  
  SSOConfig config = new SSOConfig().autoConfigure(baseUrl);
  
  </pre>