https://kotlinlang.org logo
r

Robert

07/09/2020, 9:27 AM
Hey, I've implemented a
ExchangeFilterFunction
which uses
ReactiveSecurityContextHolder
to get the
SecurityContext
this works as expected outside of graphql-kotlin context. Using the same WebClient with this function inside a resolver => the context is not populated. I'm using a custom GraphQLContextFactory to pass the GraphQLSecurityContext around explicitly. This is done via
Copy code
coroutineContext[ReactorContext]
which can't be used inside a
ExchangeFilterFunction
.. any ideas what could be wrong?
2 Views