Skip to content

Commit

Permalink
fix: failing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Sep 5, 2024
1 parent d8e661c commit 7f9ecf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cognite/client/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,11 @@ class OAuthDeviceCode(_OAuthCredentialProviderWithTokenRefresh, _WithMsalSeriali
... scopes=["https://greenfield.cognitedata.com/.default"],
... )
Create credentials with auth0
>>> from cognite.client.credentials import OAuthDeviceCode
>>> oauth_provider = OAuthDeviceCode(
... authority_url=None,
... oauth_discovery_url="https://my-tenant.auth0.com/oauth",
... client_id="abcd",
... scopes=["IDENTITY", "user_impersonation"],
Expand Down

0 comments on commit 7f9ecf3

Please sign in to comment.