Closed JayAhn2 closed 1 year ago
I will not install IntelliJ to debug Kotlin code. Java with Lombok is good enough and works with all IDEs.
You might use OAuth2AuthoritiesConverter
which is an alias for Converter<Map<String, Object>, Collection<? extends GrantedAuthority>>
. Because of generics erasure, the context factory gets lost when there is more than one Converter
bean and using such alias is viable workaround.
@ch4mpy Yeah I just found that it works with OAuth2AuthoritiesConverter
. Probably it would be clearer if you change the sample codes with OAuth2AuthoritiesConverter
:)
Describe the bug Hi.
I've followed the sample code (samples/webmvc_oidcauthentication) in kotlin, but I've got syntax error in authenticationFactory bean registration as below.
Could you let me know what is missing here?
Code sample Ideally, provide me with :
Expected behavior No syntax error
Additional context Add any other context about the problem here.