Skip to content

Commit

Permalink
Removing extraneous sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGHSeg committed Oct 6, 2023
1 parent 2f5945c commit 0e3bd5b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions samples/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
-----END PRIVATE KEY-----
''' # Should be read from a file on disk which can be rotated out

analytics.write_key = '9BWoGOi4lWVaQBP5NRheT7N0C1t4HTJM'
analytics.host = 'https://api.segment.build'
analytics.oauth_client_id = '2VRbiyEPtsDBjFqO9Tu7EXvQH5H' # OAuth application ID from segment dashboard
analytics.write_key = '<YOUR WRITE KEY HERE>'

analytics.oauth_client_id = 'CLIENT_ID' # OAuth application ID from segment dashboard
analytics.oauth_client_key = privatekey # generated as a public/private key pair in PEM format from OpenSSL
analytics.oauth_key_id = '2VRbiuUFSMo4AGyrYyxxyONzqiP' # From segment dashboard after uploading public key
analytics.oauth_auth_server = 'https://oauth2.segment.build'
analytics.oauth_key_id = 'KEY_ID' # From segment dashboard after uploading public key
analytics.oauth_scope = 'tracking_api:write' #'public_api:read_write'

def on_error(error, items):
Expand Down

0 comments on commit 0e3bd5b

Please sign in to comment.