Skip to content

Sign into Deep Origin

To use most of the functionality of the Python client, you must first to sign in to the Deep Origin platform.

from deeporigin import auth
_ = auth.get_tokens()

When you first do this, you will be presented with a prompt similar to below:

To connect to the Deep Origin OS, navigate your browser to 

https://<env>auth0.com/activate?user_code=<code>

and verify the confirmation code is the one shown, and click the "Confirm" button.

When you visit that URL, you will see a prompt that looks like:

After clicking the Confirm button, you will see a confirmation similar to below:

After signing in, your access tokens will be cached to disk and then automatically be used in subsequent interactions with Deep Origin.

Authenticating

You only need to authenticate to the Deep Origin OS once. You do not need to authenticate every time you use the client.

Subsequent calls to get_tokens (even in a new python session), will re-use the old token and refresh if needed.