# ktor

Alper Tekin

08/13/2022, 11:40 AM
Hi Ktorers 👋 I have ktor microservices and firebase authentication. There is no problem while verifying tokens when a request received to an endpoint. But also I have clients in microservices that talks to each other, I couldn’t find a way to set token to the clients 😅 I also use consul to discover services. I may elaborate in case you need more info 🙂 My approach looks like the project below:[…]marcguilera/bank/balance/client/default/DefaultBalanceClient.kt

Aleksei Tirman [JB]

08/16/2022, 9:54 AM
What do you mean that you couldn’t find a way to set token to the clients?

Alper Tekin

08/16/2022, 10:56 AM
I figured out it’s more about the structure of the project and the way I try to set auth header. The problem looks like not related to ktor features actually 🙂 Now, I try to set the header to the singleton kodein instance.