plugin-oauth2
plugin-oauth2 copied to clipboard
Failed to authentication with OAuth2……An error occurred reading the UserInfo response: WWW-Authenticate scheme must be OAuth 2.0 DPoP
halo 版本:2.21.6 oauth2 版本: 1.7.0
halo-1 | 2025-08-12T17:17:54.135+08:00 ERROR 7 --- [or-http-epoll-4] r.h.o.HaloOAuth2AuthenticationWebFilter : Failed to authentication with OAuth2
halo-1 |
halo-1 | org.springframework.security.oauth2.core.OAuth2AuthenticationException: [invalid_user_info_response] An error occurred reading the UserInfo response: WWW-Authenticate scheme must be OAuth 2.0 DPoP
halo-1 | at org.springframework.security.oauth2.client.userinfo.DefaultReactiveOAuth2UserService.lambda$loadUser$8(DefaultReactiveOAuth2UserService.java:165) ~[spring-security-oauth2-client-6.5.2.jar:6.5.2]
SSO对接自建authentik ,希望可以支持 OAuth 2.0 DPoP
Hi @goudaxu , thank you for reaching out here!
After doing some investigations, we have to wait for https://github.com/spring-projects/spring-security/issues/16912 to be closed to support OAuth2.0 DPoP.
Hi @goudaxu , thank you for reaching out here!
After doing some investigations, we have to wait for spring-projects/spring-security#16912 to be closed to support OAuth2.0 DPoP.
I got it. Thank you !