There’s been some confusion about what this means so I figured I’d provide more information about how this augments the getting started.
The basic flow with an invite token is:
- Download & extract the binary
- Issue the invite command
zrok invite --token {token}
- this sends you and email
!! This is where you use the invite token. - Finish the setup by following the link in the email to create a password
- Once the password is setup, you receive your enable token within the web console
- Use the enable token to enable your local environment
zrok enable {token}
- Now you can setup shares
zrok share public/private
Anyone can request an invite token by emailing invite@zrok.io
If you attempt to use the invite command when the invite token is required, you will receive an error like this:
there was a problem creating an invitation!
you are trying to use the zrok service at: https://api.zrok.io
should you be using a --token? check with your instance administrator!
you can change your zrok service endpoint using this command:
$ zrok config set apiEndpoint <newEndpoint>
(where newEndpoint is something like: https://some.zrok.io)
[ERROR]: error creating invitation ([POST /invite][401] inviteUnauthorized)
Once the beta phase complete, the invite command will not require a --token {token}
to function.