You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any documentation on which micronaut.security things are needed? I Don't use oauth2, but it appears i MUST add it implementation(mn.micronaut.security.oauth2) to compile.
The text was updated successfully, but these errors were encountered:
scprek
changed the title
Generating a clieht with useAuth = true with Kotlin causes Unresolved reference: defaultTokenPropagator
Generating a client with useAuth = true with Kotlin causes Unresolved reference: defaultTokenPropagator
Jul 31, 2024
Expected Behavior
I expect Open API Client generation in Kotlin language to compile out of the box. Instead I get an error.
Java Language has no compiler error
I saw this related issue and am past this problem #1623
Documentation Question
Is there any documentation on which
micronaut.security
things are needed? I Don't use oauth2, but it appears i MUST add itimplementation(mn.micronaut.security.oauth2)
to compile.Actual Behaviour
Generates API with
@Authorization
but then this in the `AuthorizationFilter::getTokenPropagator(name: String)
Steps To Reproduce
OpenAPI Spec doesn't even need any
securitySchemes
orsecurity
sections to hit this errorBut for sake of example
Environment Information
micronautGradlePlugin=4.4.2
kotlinVersion=1.9.23
Example Application
#1666
Version
4.5.1
The text was updated successfully, but these errors were encountered: