Skip to content

Implement script strategy #117

Description

@nichtich

Strategy to ask for username and password to be passed to a local executable script/binary in the server file system. Requires option command to call the script, e.g. ["/some/login/script", "-u", "$USERNAME", "-p", "$PASSWORD"]. or ["/path/to/script"]. The script gets username and passwort in environment variables USERNAME and PASSWORD and as arguments for array elements being $USERNAME or $PASSWORD, respectively. The script must return a JSON object and not return an error exit code. Field names of the JSON strict are not defined yet (likely id (required account id), name (optional account name) and/or username (optional display name)). A user uri can be generated from template of provider configuration like for other strategies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions