vscode-app/POSTINSTALL.md

22 lines
783 B
Markdown
Raw Permalink Normal View History

2021-04-14 19:43:53 +00:00
# App authentication
2021-04-19 22:16:17 +00:00
This app integrates with Cloudron SSO by default.
If you choose to opt out of SSO, a custom password is used.
2021-04-14 19:43:53 +00:00
The initial password is randomly generated and printed to the logs when the app starts.
2021-04-19 22:16:17 +00:00
Please note that the app provides the same environment to all users.
2021-04-14 19:43:53 +00:00
2021-04-19 22:16:17 +00:00
## Changing the password (only for custom auth)
2021-04-14 19:43:53 +00:00
The password is configured in `/app/data/vscode/config/config.yaml`.
You can change it by modifying the `password` key.
Also you can set the `hashed-password` key (create it) to the SHA-256 checksum
of a password (This setting takes precedence over `password`).
After changing the password (either way), the app has to be restarted.
Make sure to set a secure password as VS code provides shell access to
everyone who knows the password.