## Signing in from a PC
c8-settings ships the provider (`data/accounts/cont8nuum.provider.in`),
so PC settings, Online accounts offers "cont8nuum account". Where it
points is c8-settings' `account_url` build option, empty by default
(no provider). `build.sh` gives the nested `.prefix` build the local
test site, `http://127.0.0.1:8088`, and any build the address in
`C8_ACCOUNT_URL`; an installed desktop wants the real https one, since
anyone on the machine can listen on a local port. Plain http is only taken to
points is c8-settings' `account_url` build option, by default the live
site, `https://c8.lowtide.sbs` (empty: no provider). `build.sh` gives
any build the address in `C8_ACCOUNT_URL`, else the nested `.prefix`
build the local test site, `http://127.0.0.1:8088`, so tests never
sync into the real account, and any other build the live site. An installed desktop wants
an https one, since anyone on the machine can listen on a local port. Plain http is only taken to
the PC itself (127.0.0.1, localhost), or anywhere with
`C8_ACCOUNTS_ALLOW_HTTP=1` set, which is for tests.
Apps get a token with `GetAccessToken("sync", "")`, which also gives
132 unmodified lines
Expand all