mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
Update SingleSignOnInterceptor.java
This commit is contained in:
parent
50bfb3087e
commit
3e0764c7cf
@ -52,7 +52,7 @@ public class SingleSignOnInterceptor implements AsyncHandlerInterceptor {
|
|||||||
AuthorizationUtils.authenticateWithCookie(
|
AuthorizationUtils.authenticateWithCookie(
|
||||||
request,authJwtService,onlineTicketService);
|
request,authJwtService,onlineTicketService);
|
||||||
|
|
||||||
if(AuthorizationUtils.isAuthenticated()){
|
if(AuthorizationUtils.isNotAuthenticated()){
|
||||||
//http://sso.maxkey.top/sign/
|
//http://sso.maxkey.top/sign/
|
||||||
String loginUrl = "http://sso.maxkey.top:4200/#/passport/login";
|
String loginUrl = "http://sso.maxkey.top:4200/#/passport/login";
|
||||||
String savedRequestUrl = UrlUtils.buildFullRequestUrl(request);
|
String savedRequestUrl = UrlUtils.buildFullRequestUrl(request);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user