Replies: 1 comment 4 replies
-
I understand you are migrating from Micronaut 1.x to Micronaut 2.x and thus upgrading Micronaut Security as well. Have you checked the What's new version and Breaking changes section of Micronaut Security 2.0 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
just spent the weekend upgrading micronaut from 1.3.4 to 2.4.0. as we used the security package for OAuth/OpenId workflow with Intuit's Quickbooks Online (QBO), i spent a reasonable amount of time with both the
OpenIdUserDetailsMapper
and theOauthUserDetailsMapper
. in previous version of micronaut security i was able to implement the OpenIdUserDetailsMapper for a named singleton bean that could make a call to the QBO user profile endpoint to populate theUserDetails
object it was returning. however, this no longer seems to be the case with the OpenId connect workflow; any call that i make with a declarative client in the newcreateAuthenticationResponse
method (even tried annotating the method with@ExecuteOn
) does not complete. why was this change made? or is there some other way to call into another api without breaking the control flow, much like you support in theOauthUserDetailsMapper
?example code that works in
OauthUserDetailsMapper
but fails inOpenIdUserDetailsMapper
. note this exact call used to work in micronaut 1.3.4 with mn-security < 2.0Beta Was this translation helpful? Give feedback.
All reactions