Skip to content

changes to login & config py files to run CLI app

Yogesh Chintha requested to merge impl-ibm into master

In order to run this CLI app locally I had to do couple of minor changes as listed below to make it running successfully:

  1. config.py -> to remove error for redirect_url not found, I added self.redirect_url to pick from config.yaml file.
  2. login.py ->
    • Error in os.chmod because of path wasnt present. token_file_name is replaced with token_file.
    • during runtime key ['rv'] was not found, replaced with ['url'] which has the full constructed url.

have anyone tried running? & Did you face same errors? let me know If you have better suggestion so that it can be corrected. Thank you.

Edited by Yogesh Chintha

Merge request reports