CLI command
weles oauth-callback
Make one OAuth client accept a new callback address at the provider --provider names (google is the one Weles implements), in a run on the managed executor that edits the client in the provider's console, for the owner's Skarbiec login and the item holding the client, each named by role or by item, with the https address --callback gives. With --run, read that run's record back.
Purpose#
Make one OAuth client accept a new callback address at the provider --provider names (google is the one Weles implements), in a run on the managed executor that edits the client in the provider's console, for the owner's Skarbiec login and the item holding the client, each named by role or by item, with the https address --callback gives. With --run, read that run's record back.
Invocation#
weles oauth-callback --provider google (--login-role <skarbiec-role> | --login-item <skarbiec-item>) (--client-role <skarbiec-role> | --client-item <skarbiec-item>) --callback <https-url> [--json]
weles oauth-callback --run <run-id> [--json]Options#
| Option | Effect |
|---|---|
--provider | The provider a login, developer certificate, app password or account-security read goes through: apple for login and certificate, google for password and security; none is assumed. |
--login-role | The Skarbiec role the Google login plays (the item tagged stado:role:<role>). security reads 2FA without signing in; password signs in, creates a Google app password and hands it to Skrzynka. |
--login-item | Exact Skarbiec Google login for password when no role is assigned. |
--client-role | weles --help names this option in the usage line and gives it no description. |
--client-item | weles --help names this option in the usage line and gives it no description. |
--callback | weles --help names this option in the usage line and gives it no description. |
--json | Print the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries. |
--run | weles --help names this option in the usage line and gives it no description. |
Help#
`weles oauth-callback --help` prints these usage lines and never runs the command.