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
ERROR: The given key 'client_id' was not present in the dictionary.
Trying to get c# example working, but struggling with auth.
Looking at the source code, there's an ApiSettings class that holds base URL, timeout and few other properties, but login code in AuthSession tries to read client id and secret from that type, and it doesn't contain those properties! Looks like generated code or contract is broken, maybe some mismatch between version 3 and 4?
ERROR: The given key 'client_id' was not present in the dictionary.
Trying to get c# example working, but struggling with auth.
Looking at the source code, there's an ApiSettings class that holds base URL, timeout and few other properties, but login code in AuthSession tries to read client id and secret from that type, and it doesn't contain those properties! Looks like generated code or contract is broken, maybe some mismatch between version 3 and 4?
AuthSession type:
https://github.com/looker-open-source/sdk-codegen/blob/main/csharp/rtl/ApiSettings.cs
Reading of key that doesn't exists:
https://github.com/looker-open-source/sdk-codegen/blob/main/csharp/rtl/AuthSession.cs#L140
var clientId = section["client_id"].ToString();
Would appreciate any help with this.
The text was updated successfully, but these errors were encountered: