Connection
The Connection page, which signs the DMS workspace in to AntelopeJS Cloud and chooses the project it publishes.
On the Connection page, the owner:
- Signs the DMS workspace in to AntelopeJS Cloud with a device code.
- Chooses the cloud project it publishes.
- Sees the GitHub repository the project builds from.
- Disconnects the project or signs out.
The page also shows the AntelopeJS Cloud API the module talks to, and whether that API answers its health check. While the DMS has no project, the page leads to the first-run setup.
The sign-in runs on the DMS backend, and the browser only shows the code to confirm and the link to confirm it at. Where the token lives explains how the backend stores the token.
In an AntelopeJS Cloud development environment, the managed option gives the connection instead, and the page only shows it. The development environment page lists what changes then.
Logging
The module logs each call of the AntelopeJS Cloud API on its antelope-cloud channel, with its method, path, status and error code. It also logs each decision of the apply and of the publish check. A line never carries a token, a secret, or the value of a variable.
| Line | Level |
|---|---|
| A call that gave no answer or was refused | warning |
| A write | information |
A read, the POST that reads the plan of the databases, and the answer a device sign-in poll waits for (authorization_pending, slow_down) | debug |
A sign-in nobody has approved yet therefore does not warn at each poll.
Refused tokens
A request AntelopeJS Cloud refuses with a 403 shows cloud_forbidden ("AntelopeJS Cloud does not allow this token here") and leaves the connection connected. Only a 401 reads as a refused credential:
- A person's sign-in then reads as revoked, and the pages ask to sign in again.
- On a managed connection, the pages name the environment's token and the routes refuse with
environment_token_revoked. They offer no sign-in and promise no way to renew the token. AntelopeJS Cloud issues it for the development environment, and the module cannot ask for another.