Skip to content
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

CLI refactor and initial account set up #59

Closed
aeneasr opened this issue Mar 11, 2016 · 0 comments
Closed

CLI refactor and initial account set up #59

aeneasr opened this issue Mar 11, 2016 · 0 comments
Assignees
Labels
help wanted We are looking for help on this one.
Milestone

Comments

@aeneasr
Copy link
Member

aeneasr commented Mar 11, 2016

Instead of being able to run administrative commands directly from hydra-host, I want to have an hydra-cli that uses the HTTP REST interface provided hydra-host to manage that stuff. hydra would always require a hydra login command followed by client or user credentials (a valid OAuth2 Token should be issued).

The initial administrative account credentials would be created as followed:

  • A one time password (OTP) is generated by hydra when a fresh installation is detected.
  • The OTP is printed to STDOUT
  • The operator (the user who is installing hydra) runs hydra account create or hydra client create and will be prompted to provide the OTP. If a valid OTP is provided, the operator will be asked for an id and a password and must give confirmation that the account/client to be created is being granted super rights which allow him to do anything anytime anywhere.
@aeneasr aeneasr added help wanted We are looking for help on this one. discuss labels Mar 11, 2016
@aeneasr aeneasr changed the title Refactor CLI CLI refactor and initial account set up Mar 11, 2016
@aeneasr aeneasr added this to the 0.1-beta milestone Mar 29, 2016
@aeneasr aeneasr self-assigned this Mar 29, 2016
@aeneasr aeneasr closed this as completed May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We are looking for help on this one.
Projects
None yet
Development

No branches or pull requests

1 participant