登录页使用第三方登录会报500,在profile绑定同样也会报。
Halo版本 2.6.1 ; OAuth版本1.0.3
可能是哪里的原因?
Log如下:
2023-06-29T11:29:58.194+08:00 ERROR 6 --- [reactor-tcp-epoll-1] a.w.r.e.AbstractErrorWebExceptionHandler : [504cc9ba-7416] 500 Server Error for HTTP GET "/oauth2/authorization/github?social_connection=true&binding_redirect_uri=https://shichangshan.xyz/console/users/-/detail"
java.lang.IllegalArgumentException: ConfigMap oauth2-github-config not found
at run.halo.oauth.OauthClientRegistrationRepository.getClientRegistrationMono(OauthClientRegistrationRepository.java:72) ~[na:na]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ OrderedWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
*__checkpoint ⇢ org.springframework.web.filter.reactive.ServerHttpObservationFilter [DefaultWebFilterChain]
*__checkpoint ⇢ HTTP GET "/oauth2/authorization/github?social_connection=true&binding_redirect_uri=https://shichangshan.xyz/console/users/-/detail" [ExceptionHandlingWebHandler]
Original Stack Trace:
at run.halo.oauth.OauthClientRegistrationRepository.getClientRegistrationMono(OauthClientRegistrationRepository.java:72) ~[na:na]