Eventually, you can login into my website using your Facebook, Twitter or GitHub account. Also, you can login using you Google account, what was already announced in a separate news.
My version of the plugin requires the OAuth provider to provide the e-mail address of the user, who attempts to log in. So, if the e-mail address is not available you will get an error.
Here are the possible reasons (the ones, that I’m aware of):
Here are some steps, that I took to configure the plugin:
To make Twitter send me the e-mail address of the user, that attempts to login, I had to write Privacy policy and Terms of use for my website. These pages are required by Twitter for the app (my website, in this case), that wants to have access to the user’s e-mail address.
But, this did not help… Additionally, the app should explicitly ask for the e-mail in its request and the version of the omniauth-twitter gem, which is used by the official plugin, does not do this. So, I had to change the plugin to require omniauth-twitter 1.2.1 (the version, which starts to do this) or above.
The original plugin crashed, when I tried to login into my website using my Facebook account. This appeared to be caused by a bug in omniauth-facebook, which was fixed in version 3.0.0 of this gem. So, I had to modify the plugin to require this version or above too.
GitHub appeared to be the only OAuth provider, that worked fine without any modification in the plugin.
<nickname>_<uid>
).
Previously, Google used the OpenID protocol to allow third-party websites (like mine) to authenticate users using their Google accounts. But then, eventually Google switched to OpenID Connect. OpenID (without Connect) was natively supported by Redmine and worked fine with Google (with the help of my OpenID Fix plugin). OpenID Connect, on the contrary, is not natively supported by Redmine and needs a third-party plugin.
I installed the Redmine Omniauth Google plugin for Redmine, that was (initially) created by Dmitry Kovalenok from Twinslash Ltd. This plugin adds support for Google’s OpenID Connect to Redmine. Also, I had to modify the plugin a little to make it work under Redmine 2.5.xd, which is used by my website.
I don’t see, where it’s needed… I used it for Google authentication, but do not need it for this any longer. Also, I’m not sure, if it helped for other OpenID providers (I guess, some of them still use OpenID). So, I’m about to abandon it.
Let me know, if you still need it, though.
OpenID Connect is supported not only by Google, but also by, e.g., Facebook, Twitter and GitHub. So, I’m looking to allow you to authenticate on my website using your accounts on these websites as well. Looks like the TweetBook plugin for Redmine, that was created by Sandeep Kumar, is what I need (but I’m not sure, if it supports Redmine 2.5.xd).
]]>It is officially believed that Redmine does support OpenID. But “for some reason” I could not get it to work!.. And that’s not only me (see this and this). So had spent some time for it I found the reason and the solution!
Now this site supports OpenID! With the plugin of Jorge Barata it’s now very easy to login into this site using e.g. Google account.
Welcome! Go login! Report! And Vote!..
]]>