looker-open-source/sdk-codegen

Go SDK does not include User-Agent header

Closed this issue · 1 comments

According to the cookieless embedding documentation, the user agent of the calling user's browser has to match the user agent that is on the session. However, the Go SDK does not pass a User-Agent Header on requests currently, so calling AcquireEmbedCookielessSession in the SDK errors.

The User-Agent Header should be set on AuthSession requests in a way that we can pass a browser user agent to it.

Closing because fixed.