-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Hi,
thanks for the slim flavour of connect-go, really makes code more intuitive and readable.
We actually rely on Bearer authentication in our api and pass the bearer token at a central place into the http header with the help of a RoundTripper: https://github.com/metal-stack/api/blob/main/go/client/conn.go#L166
I want to convert this API to simple but i am unable to figure out how to pass the bearer token to the server side.
Obviously, as stated in the Changelog for the v1.19.0 release, adding the http header does not work anymore. But also adding it with a client side interceptor is not working, see: https://github.com/metal-stack/api/pull/50/files#diff-0a2bf469bafa680a742fd523314ae616a626bdbd5a2072d1ada86c044252c1bbR104
Is my hope to get simple working with bearer authentication hopeless, or can you give me some hints how to pass such values from the client to the server ?
Thanks in advance