diff --git a/docs/authentication/external-oauth-providers.md b/docs/authentication/external-oauth-providers.md index 61619b0f01d380..f395662c259fd5 100644 --- a/docs/authentication/external-oauth-providers.md +++ b/docs/authentication/external-oauth-providers.md @@ -170,7 +170,7 @@ Once configured, include your JWT token in the Authorization header when making curl -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json" \ https://your-datahub.com/api/graphql \ - -d '{"query": "{ corpUsers { total } }"}' + -d '{"query": "{ me { corpUser { urn username }}}"}' ``` For Python applications: @@ -186,7 +186,7 @@ headers = { response = requests.post( 'https://your-datahub.com/api/graphql', headers=headers, - json={'query': '{ corpUsers { total } }'} + json={'query': '{ me { corpUser { urn username }}}'} ) ```