【发布时间】:2020-04-13 03:28:31
【问题描述】:
我正在尝试在我的本地应用程序下运行(与 OKTA 相关的必要配置更改) https://github.com/oktadeveloper/okta-spring-security-authentication-example/tree/master/oauth-okta
浏览器访问应用程序时一切正常。身份验证在 OKTA 工作正常并正确重定向到应用程序。
但是当我使用邮递员尝试相同的 API 时,OidcUser 将变为 null。 我使用grant_type client_credentials从邮递员生成了accessToken
@AuthenticationPrincipal OidcUser oidcUser
有什么线索吗?
-R
【问题讨论】:
标签: spring-boot single-sign-on okta