我正在尝试将Okta设置为我的springboot应用程序中的一组子路径的登录。,但在登录后我收到一个错误,警告:
org.springframework.security.authentication.BadCredentialsException: Could not obtain,但当它与应用程序中另一组子路径的github的另一个oauth登录一起使用时,似乎会崩溃。:spring-boot</em
我有一个spring-boot服务,它使用Okta平台API使用OpenID连接/OAuth2对用户进行身份验证。当用户试图访问我的服务时,他们被重定向到Okta登录页面并进行身份验证,然后Okta将他们重定向回我的服务。我想完全禁用CSRF检查,所以我将此添加到我的应用程序中@EnableOAuth2Sso
public class Config extends WebSecurityConfigurerAdaptervoid