Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
redmine_omniauth_google
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
redmine_omniauth_google
Commits
07b99cff
Commit
07b99cff
authored
12 years ago
by
Дмитрий Коваленок
Browse files
Options
Downloads
Patches
Plain Diff
documentation
parent
ac958522
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rdoc
+23
-2
23 additions, 2 deletions
README.rdoc
with
23 additions
and
2 deletions
README.rdoc
+
23
−
2
View file @
07b99cff
= redmine_omniauth_
google
This plugin is used to authenticate in redmine through
google
.
Description goes here
Installation:
Choose folder /plugins, make command git clone git@gitlab.tsdv.net:redmine_omniauth_google.git. Restart rails server.
To make possible to authenticate via google you must first to register application in
Google. Go to the link https://code.google.com/apis/console and register plugin.
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. Select (more options).
In section "Authorized Redirect URIs" in the text box enter http://yourdomain/oauth_google_callback. Press the button "Create client ID".
The registrations is complete.
Login as administrator. In top menu select "Administration".
Choose menu item Plugins. In plugins list choose "Redmine Omniauth Google plugin".
Press "Configure". 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.
User goes to the login page(sign in). User clicks the button with Google image.
The plugin redirects him to Google. User enters his the еmail & password from Google.
Google redirect user back to plugins controller. Then the following cases:
1. If auto registration is enabled, user is redirected to 'my/page'
2. In others cases user is redirected to 'login'.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment