josh
1
Hi all,
I’m following the Camunda + Go tutorial here Getting started with the Go client | Camunda Platform 8 I have all my Zeebe env vars set but when I do the very first run in that tutorial I get a panic that says:
panic: expected to find non-empty audience
An audience isnt set somewhere? Probably with the login/scopes? Any ideas?
Hi @josh,
Are you using Camunda 8 SaaS?
The audience refers to the Zeebe-Address without port:
credentials, err := zbc.NewOAuthCredentialsProvider(&zbc.OAuthProviderConfig{
ClientID: "<your client ID>",
ClientSecret: "<your client secret>",
AuthorizationServerURL: "https://login.cloud.camunda.io/oauth/token",
Audience: "<cluster id>.bru-2.zeebe.camunda.io",
})
1 Like
josh
3
Yep! As soon as I posted this I found I needed to pass the proper credential provider: Client authorization | Camunda Platform 8
Thanks Stephan!
2 Likes