@@ -20,7 +20,7 @@ To make possible to authenticate via Google you must first to register applicati
...
@@ -20,7 +20,7 @@ To make possible to authenticate via Google you must first to register applicati
* Press "API Access" in left menu bar.
* Press "API Access" in left menu bar.
* Click the button "Create an OAuth 2.0 client ID".
* Click the button "Create an OAuth 2.0 client ID".
* When registering specify application name, for example, Redmine Oauth Google.
* When registering specify application name, for example, Redmine Oauth Google.
* In section "Your site or hostname" choose mode http, in the text input box enter your domain, for example, yourdomain.com.
* In section "Your site or hostname" choose mode http, in the text input box enter your domain. For example: www.example.com or localhost
* Press the button "Create client ID".
* Press the button "Create client ID".
The registrations is complete.
The registrations is complete.
...
@@ -31,6 +31,9 @@ The registrations is complete.
...
@@ -31,6 +31,9 @@ The registrations is complete.
* Fill Сlient ID & Client Secret by corresponding values, obtained by Google.
* Fill Сlient ID & Client Secret by corresponding values, obtained by Google.
* Put the check "Oauth authentification", to make it possible to login through Google. Click Apply. Users can now to use apportunity to login via Google.
* Put the check "Oauth authentification", to make it possible to login through Google. Click Apply. Users can now to use apportunity to login via Google.
### Other options
By default, all domains are allowed to authenticate through Google.
To limit login through Google for other domains you have to fill allowed domains in the text box field the "Allowed domains". Domains must be separated by newlines. For example:
To limit login through Google for other domains you have to fill allowed domains in the text box field the "Allowed domains". Domains must be separated by newlines. For example: