This repository was archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Quentin Guidée edited this page Aug 2, 2022
·
9 revisions
First of all, go to https://your.url/config. You'll be prompt to enter some info.
-
host: URL where your database is (eg.
localhost,localhost:5432ormy.website.com) -
database: the name of the database (eg.
cloudsh) - user: your database username
- password: your database password
For the moment, cloud.sh uses third party OAuth exclusively. To configure the server, you should choose one of the following methods first. You can add more methods later in the Admin Panel.
- name: what you want to display to the user (eg. GitHub)
- color: the color to display on the login button
- client ID: the client ID given by GitHub
- client secret: the client secret given by GitHub
-
authorize URL:
https://github.com/login/oauth/authorize -
access token URL:
https://github.com/login/oauth/access_token -
redirect URL:
http://YOUR_CLIENT_URL/login