| | |
| | | @GetMapping("/getSsoAuthUrl") |
| | | public AjaxResult getSsoAuthUrl() { |
| | | String uuid = UUID.randomUUID().toString(); |
| | | return AjaxResult.success(ssoBean.getUrl() + "/oauth2/auth?response_type=code&scope=openid&client_id=" + ssoBean.getClientId() + "&redirect_uri=" + ssoBean.getCallbackUrl() + "&state=" + uuid); |
| | | return AjaxResult.success("操作成功", ssoBean.getUrl() + "/oauth2/auth?response_type=code&scope=openid&client_id=" + ssoBean.getClientId() + "&redirect_uri=" + ssoBean.getCallbackUrl() + "&state=" + uuid); |
| | | } |
| | | |
| | | /** |