Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Databricks not implicitly obtaining configurations via module get_token_implicit_flow() #68

Open
larkz opened this issue Dec 15, 2020 · 0 comments

Comments

@larkz
Copy link

larkz commented Dec 15, 2020

config[oauth2_url] = click.prompt('Please enter the OAuth 2 {} Endpoint URL'.format(message),

When I run in my local machine, the module is able to obtain the necessary credentials and infer the config properly.

zign.api.get_token_implicit_flow()

On my local machine this works fine, but when I run this on Databricks, it stops me at the message:

Please enter the OAuth 2 Token Endpoint URL: 

Isn't the code supposed to obtain the implicit configurations, even when I enter the configs manually in manually, it is still asking for the Endpoint URL, must we supply all config arguments manually. Or is there an issue with the code when running on Databricks?

auth_dict = {'authorize_url': 'https://identity.zalando.com/oauth2/authorize', 'business_partner_id': '810d1d00-4312-43e5-bd31-d8373fdd24c7', 'client_id': 'ztoken', 'token_url': 'https://identity.zalando.com/oauth2/token'}

git blame: @gargravarr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant