From 6c711f696f73bc59813f6834ec241aef3b626cbd Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 29 Aug 2015 20:00:53 -0400 Subject: Include documentation in the application --- doc/google-authentication.markdown | 64 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 doc/google-authentication.markdown (limited to 'doc/google-authentication.markdown') diff --git a/doc/google-authentication.markdown b/doc/google-authentication.markdown new file mode 100644 index 00000000..0f4f3ec1 --- /dev/null +++ b/doc/google-authentication.markdown @@ -0,0 +1,64 @@ +Google Authentication +===================== + +Requirements +------------ + +OAuth Google API credentials (available in the Google Developer Console) + +How does this work? +------------------- + +- The Google authentication in Kanboard use the OAuth 2.0 protocol +- Any user account in Kanboard can be linked to a Google Account +- When a Kanboard user account is linked to Google, you can login with one click + +Procedure to link a Google Account +---------------------------------- + +1. Go to your user profile +2. Click on **External accounts** +3. Click on the link **Link my Google Account** +4. You are redirected to the **Google Consent screen** +5. Authorize Kanboard by clicking on the button **Accept** +6. Your account is now linked + +Now, on the login page you can be authenticated in one click with the link **Login with my Google Account**. + +Your name and email are automatically updated from your Google Account. + +Installation instructions +------------------------- + +### Setting up OAuth 2.0 in Google Developer Console + +- Follow the [official Google documentation](https://developers.google.com/accounts/docs/OAuth2Login#appsetup) to create a new application +- In Kanboard, you can get the **redirect url** in **Settings > Integrations > Google Authentication** + +### Setting up Kanboad + +Create a custom `config.php` file or copy the `config.default.php` file: + +```php +