Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Return config validation errors in one go#1439

Merged
JoelSpeed merged 2 commits into
dexidp:masterfrom
sks:feature/fail_on_invalid_config
Jul 30, 2019
Merged

Return config validation errors in one go#1439
JoelSpeed merged 2 commits into
dexidp:masterfrom
sks:feature/fail_on_invalid_config

Conversation

@sks
Copy link
Copy Markdown

@sks sks commented Apr 29, 2019

  • Bulk Validate all the configuration
  • Added test case for validation.

Sample Output


Invalid Config:
	-	no issuer specified in config file
	-	no storage supplied in config file
	-	must supply a HTTP/HTTPS  address to listen on
exit status 2

Carry forward from #1264

Copy link
Copy Markdown
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

Once the comment below is fixed, I'm happy to get this merged

Comment thread cmd/dex/config.go Outdated
@sks sks force-pushed the feature/fail_on_invalid_config branch from 8e3951c to 6769a3b Compare July 23, 2019 15:17
Copy link
Copy Markdown
Member

@bonifaido bonifaido left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Copy Markdown
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks!

@JoelSpeed JoelSpeed merged commit e2ddeff into dexidp:master Jul 30, 2019
@sks sks deleted the feature/fail_on_invalid_config branch July 30, 2019 19:50
mmrath pushed a commit to mmrath/dex that referenced this pull request Sep 2, 2019
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.

3 participants