Skip to content

Commit

Permalink
Corrrected the OAuth2 Extension name in the doc. (#631)
Browse files Browse the repository at this point in the history
The extension name for  OAuth2 authenticator  is `oauth2client`. Corrected it from `oauth2clientcredentials`
  • Loading branch information
pavankrish123 committed Jul 9, 2021
1 parent e5ac1e2 commit a6672fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/en/docs/collector/configuration.md
Expand Up @@ -512,10 +512,11 @@ them to every RPC made to a remote collector:

```yaml
extensions:
oauth2clientcredentials:
oauth2client:
client_id: agent
client_secret: some-secret
token_url: http://localhost:8080/auth/realms/opentelemetry/protocol/openid-connect/token
scopes: ["api.metrics.write"]

receivers:
otlp:
Expand All @@ -533,7 +534,7 @@ exporters:

service:
extensions:
- oauth2clientcredentials
- oauth2client
pipelines:
traces:
receivers:
Expand Down

0 comments on commit a6672fa

Please sign in to comment.