Skip to content

auth-oauth2 and auth-openid report all required arguments missing when all are provided via command flags #408

Description

@asafasa2

When all required arguments are provided correctly via command line flags, stf auth-oauth2 and stf auth-openid still report all arguments as missing. However, when arguments are genuinely missing one by one, the error correctly identifies only the missing one.
Steps to reproduce:

Run stf auth-openid with no arguments → correctly reports only the missing ones
Run stf auth-openid with all required flags provided via command line → incorrectly reports all arguments as missing

Expected behavior:
When all required arguments are provided, the auth unit should start successfully.
Actual behavior:
Even with all flags correctly provided, the error reports everything as missing:
Missing required arguments: app-url, secret, openid-client-id, openid-client-secret

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions