Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/authentication/external-oauth-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}}'}
)
```

Expand Down
Loading