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 docs needed #20

Open
brad opened this issue Aug 22, 2018 · 1 comment
Open

CLI docs needed #20

brad opened this issue Aug 22, 2018 · 1 comment

Comments

@brad
Copy link
Member

brad commented Aug 22, 2018

Specifically we need documentation describing these items as explained in #18

  • run the nokia script on a machine, where a browser is available
  • callback does not need to be reachable from outside.
@magnific0
Copy link

Re: same machine to complete authorization and running the script. I think this is preferable (easiest), but not a necessity as long as:

  1. callback_url points to the correct machine (use IP for simplicity)
  2. the clients can connect to each other (e.g., no wireless isolation)
  3. the port chosen is allowed, available and not firewalled.

There will be users that want to run the script on a headless machine. Looking at bin/nokia nothing seems to restrict it to a local only setup except the use of webbrowser to launch an instance, but the url is already printed anyway, so this step can be done manual.

Another idea entirely is to simply pick a non-existing callback (e.g., localhost:9999) and copy the code parameter from the address bar into the CLI. It's not elegant, but very simple and robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants