In ruby: https://github.com/GoogleCloudPlatform/gcloud-ruby/issues/102 In python: we leave everything to oauth2client, which follows the same order. craigcitro@ knows the specifics for Python.