In register.sh we currently use the Oauth token. This token is short lived (probably 3600secs). We should let register add a long lived access token. These tokens are valid for 10 years. That's virtually forever in our world short-lived docker container.
The long lived token can only be created via the websocket.
We can't really use curl to make the 'call' towards the websocket. The current idea is that we create/have a command line tool that allows us to do these things.
In
register.sh
we currently use the Oauth token. This token is short lived (probably 3600secs). We should let register add a long lived access token. These tokens are valid for 10 years. That's virtually forever in our world short-lived docker container.The long lived token can only be created via the websocket. We can't really use
curl
to make the 'call' towards the websocket. The current idea is that we create/have a command line tool that allows us to do these things.