update OAuth 2.0 config for python client