Skip to content
Snippets Groups Projects
Commit 11ceaecb authored by Dmitry Kovalenok's avatar Dmitry Kovalenok
Browse files

updating readme

parent ad54ec2e
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ This plugin is used to authenticate in redmine through Google. ...@@ -7,7 +7,7 @@ This plugin is used to authenticate in redmine through Google.
Choose folder /plugins, make command Choose folder /plugins, make command
```console ```console
git clone git@gitlab.tsdv.net:redmine_omniauth_google.git. git clone git@gitlab.tsdv.net:redmine_omniauth_google.git
``` ```
Restart rails server. Restart rails server.
...@@ -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:
onedomain.com onedomain.com
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment