mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
sso server支持vue页面
This commit is contained in:
parent
9d7b76da3d
commit
ec38053999
@ -15,11 +15,6 @@ import org.springframework.context.annotation.Bean;
|
|||||||
@EnableConfigurationProperties(SocialProperties.class)
|
@EnableConfigurationProperties(SocialProperties.class)
|
||||||
public class SocialAutoConfiguration {
|
public class SocialAutoConfiguration {
|
||||||
|
|
||||||
|
|
||||||
public SocialAutoConfiguration() {
|
|
||||||
System.out.println("[AutoConfiguration] |- SDK 自动装配启动");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public AuthStateCache authStateCache() {
|
public AuthStateCache authStateCache() {
|
||||||
return new AuthRedisStateCache();
|
return new AuthRedisStateCache();
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
<artifactId>ruoyi-common-redis</artifactId>
|
<artifactId>ruoyi-common-redis</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- TODO 后续看看是否移除-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.dev33</groupId>
|
<groupId>cn.dev33</groupId>
|
||||||
<artifactId>sa-token-core</artifactId>
|
<artifactId>sa-token-core</artifactId>
|
||||||
|
|||||||
@ -73,7 +73,7 @@ public class SsoController {
|
|||||||
clientLoginUrl = joinParam(clientLoginUrl, paramName.back, back);
|
clientLoginUrl = joinParam(clientLoginUrl, paramName.back, back);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 返回 ticket
|
// 返回url
|
||||||
return joinParam(serverUrl, paramName.redirect, SaFoxUtil.encodeUrl(clientLoginUrl));
|
return joinParam(serverUrl, paramName.redirect, SaFoxUtil.encodeUrl(clientLoginUrl));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,4 +31,3 @@ spring:
|
|||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- optional:nacos:application-common.yml
|
- optional:nacos:application-common.yml
|
||||||
# - optional:nacos:${spring.application.name}.yml
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user