Skip to content

[Bug]: dab init --auth.provider invalid command succeeds when it should fail #3437

@RubenCerna2079

Description

@RubenCerna2079

What happened?

Using dab init --auth.provider with a value that is not part of the allowed enum options works should cause the command to fail, however, it is succeeding and serializing the wrong value to the config file.

Command used that caused failure is dab init --config test-config.json --auth.provider Entr --database-type mssql --auth.audience http://testing.com --auth.issuer https://testing.issuer.com

Version

2.0.0-rc

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

No response

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclitriageissues to be triaged

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions