-
Notifications
You must be signed in to change notification settings - Fork 32
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
Implement script strategy #117
Comments
As described at #80 this strategy is going to be used with CBS/PSI in two use cases:
|
Just committed the first implementation. We still need documentation, in particular:
Also I have more questions regarding the implementation:
|
Well, passing the credentials per environment should be enough, so ignore this. I don't get the difference between Absence or empty field |
👍
There is no difference. Some OAuth providers use one, some use the other. We can just use
Because for some providers, the
For now, I'm just going to assume that any output where |
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 variablesUSERNAME
andPASSWORD
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 (likelyid
(required account id),name
(optional account name) and/orusername
(optional display name)). A useruri
can be generated fromtemplate
of provider configuration like for other strategies.The text was updated successfully, but these errors were encountered: