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
the golang sdk doc dose not talk about any possible way how a user can provide authorization token, just like in java sdk theres a separate doc for authorization. can we have a similar doc, and i would like to know how it can be done.
There are two ways, you can set client.Options.HeadersProvider with an instance that returns a map with Authorization as the key and Bearer <mytoken> as the value.
The other way is only on the newest SDK. You can set gRPC dial options directly on client.Options.ConnectionOptions.DialOptions which could have an interceptor where you can set the header via gRPC metadata. This is basically how the first way is implemented.
the golang sdk doc dose not talk about any possible way how a user can provide authorization token, just like in java sdk theres a separate doc for authorization. can we have a similar doc, and i would like to know how it can be done.
https://docs.temporal.io/docs/content/how-to-provide-an-authorization-token-in-java
The text was updated successfully, but these errors were encountered: