Skip to content

auth: service: don't forget to load json configs #208

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

Merged
merged 2 commits into from
Jul 19, 2022
Merged

auth: service: don't forget to load json configs #208

merged 2 commits into from
Jul 19, 2022

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Jul 19, 2022

If client_user_email is not specified - it will trigger LoadServiceConfigSettings call during ServiceAuth, which will raise an exception because it doesn't see neither json nor pkcs12 keyfile path.

@efiop efiop temporarily deployed to internal July 19, 2022 00:22 Inactive
@efiop efiop temporarily deployed to internal July 19, 2022 00:25 Inactive
@efiop efiop temporarily deployed to internal July 19, 2022 00:26 Inactive
Comment on lines 586 to 588
if value:
self.client_config[config] = value
break
Copy link
Contributor Author

@efiop efiop Jul 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably transfer all of the options instead of trying to pick the first best one (we will do that later in ServiceAuth anyway). But keeping similar to how it was before for now.

@efiop efiop changed the title auth: service: don't forget to load json configs [WIP] auth: service: don't forget to load json configs Jul 19, 2022
@efiop efiop temporarily deployed to internal July 19, 2022 00:35 Inactive
@efiop efiop temporarily deployed to internal July 19, 2022 00:49 Inactive
@efiop efiop temporarily deployed to internal July 19, 2022 00:49 Inactive
@efiop efiop temporarily deployed to internal July 19, 2022 01:05 Inactive
@efiop efiop temporarily deployed to internal July 19, 2022 01:06 Inactive
@efiop efiop changed the title [WIP] auth: service: don't forget to load json configs auth: service: don't forget to load json configs Jul 19, 2022
@efiop efiop merged commit 9f2f1ce into master Jul 19, 2022
@efiop efiop deleted the auth branch July 19, 2022 01:13
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

Successfully merging this pull request may close these issues.

2 participants