0811 ljc 新增.well-known/openid-configuration接口
This commit is contained in:
parent
546260b2f9
commit
0d212710fa
@ -292,7 +292,7 @@ public class OAuth2OpenController {
|
||||
@GetMapping("/.well-known/openid-configuration")
|
||||
@PermitAll
|
||||
@Operation(summary = "OpenID Connect 发现配置端点")
|
||||
public CommonResult<Map<String, Object>> getOpenIdConfiguration(HttpServletRequest request) {
|
||||
public Map<String, Object> getOpenIdConfiguration(HttpServletRequest request) {
|
||||
Map<String, Object> configuration = new HashMap<>();
|
||||
|
||||
// 获取基础URL
|
||||
@ -385,7 +385,7 @@ public class OAuth2OpenController {
|
||||
// 代码挑战方法支持
|
||||
configuration.put("code_challenge_methods_supported", Arrays.asList("plain", "S256"));
|
||||
|
||||
return CommonResult.success(configuration);
|
||||
return configuration;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user