Open anandology opened 2 years ago
Authentication is implemented.
With the /connect
endpoint, I think this would be the simplest solution:
Send IP address with /connect/{ip_address}
, maybe after encoding it as base64. Then server will store this as a session cookie until user authenticates when it can be retrieved and stored in the table.
I considered passcode authentication, but there would have to be multiple HTTP requests (before to store the IP-address, and link it with the passcode), and then for authentication. I feel the sending IP address in the URL would be the simplest solution.
We should also have a self-hosting-agent check
to see if the URL is connected. It should return an output like:
This node is connected to 'nikochiko'.
When a new user starts with a new digital ocean droplet, the following are the steps that she need to do to get started with the learning journey.
Step 1: install agent
Step 2: run setup