Thank you very much for you answer and article! They were really useful (perfect i’d say since i was working on Spring as well). I am using Gradle 4.5.1 and Kotlin and I have few more questions on this:
-
I correctly managed to upgrade Spring to 2.0.0.RC1 but when using the 0.2.0 version of your package many errors happen:
-
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/lamba/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.3/7c4f3c474fb2c041d8028740440937705ebb473a/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/lamba/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/1.7.25/8dacf9514f0c707cbbcdd6fd699e8940d42fb54e/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] -
Error processing condition on com.okta.spring.oauth.OktaTokenServicesConfig$LocalTokenValidationConfig.authoritiesExtractor
When using your 0.1.0 package version, IntelliJ IDEA says to me that
okta.oauth.issuer
andokta.oauth.clientId
“Cannot resolve configuration property” even if it compiles and run correctly (I did not tried to access resources while logged in tho). Here’s my gradle.build file; notice that if i do not add any of your packages the code runs. -
-
In your guide you use Okta’s official Angular SDK while in a previous guide for Angular (the one I used previously) you recommended Manfred Steyer’s project to add OAuth 2 and OpenID. Do you recommend to migrate to the official one? In both yes and no cases, why?