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

mas-cli config wants upstream_oauth2 #2614

Open
chrissteinke opened this issue Apr 9, 2024 · 0 comments
Open

mas-cli config wants upstream_oauth2 #2614

chrissteinke opened this issue Apr 9, 2024 · 0 comments
Labels
A-Configuration Related on what is configurable and how it can be configured T-Defect Something isn't working

Comments

@chrissteinke
Copy link

chrissteinke commented Apr 9, 2024

From the release notes:

The mas-cli config dump and mas-cli config generate commands now strip less common options if they are kept to their default value.

This means that those commands will skip the telemetry, policy, templates, upstream_oauth2, branding and experimental sections if no custom value is set.

Without any upstream_oauth2 parts or empty set of providers, so that the mas-cli dump strips that block, the server fails to start with : 'Error: missing field upstream_oauth2'

Adding the empty list of providers in the ' upstream_oauth2' section let the server start again.

@sandhose sandhose added T-Defect Something isn't working A-Configuration Related on what is configurable and how it can be configured labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Configuration Related on what is configurable and how it can be configured T-Defect Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants