below is my job template, please correct me where I am wrong
command: ["hydra"]
#args: ["clients create", "--endpoint http://127.0.0.1:4445", "--id gitea-client", "--secret secret", "--grant-types authorization_code,refresh_token", "--response-types code,id_token", "--scope openid,offline", "--callbacks http://127.0.0.1:8000/user/oauth2/ORY_Hydra/callback"]
#command: ["hydra"]
#args: ["token user", "--client-id gitea-client", "--client-secret secret", "--endpoint http://127.0.0.1:4444/", "--port 5555", "--scope openid,offline"]
# command: ["hydra"]
args:
- hydra clients create;
--endpoint http://127.0.0.1:4445;
--id gitea-client;
--secret secret;
--grant-types authorization_code,refresh_token;
--response-types code,id_token;
--scope openid,offline;
--callbacks http://127.0.0.1:8000/user/oauth2/ORY_Hydra/callback;
# - token user
# --client-id gitea-client
# --client-secret secret
# --endpoint http://127.0.0.1:4444/
# --port 5555
# --scope openid,offline