Skip to content

Commit

Permalink
ORCID added for 3.1.2-x
Browse files Browse the repository at this point in the history
  • Loading branch information
RBoelter committed Aug 6, 2021
1 parent 82fcccd commit c836d33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions forms/OpenIDPluginSettingsForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class OpenIDPluginSettingsForm extends Form
*/
private const PUBLIC_OPENID_PROVIDER = [
"custom" => "",
"orcid" => ["configUrl" => "https://orcid.org/.well-known/openid-configuration"],
"google" => ["configUrl" => "https://accounts.google.com/.well-known/openid-configuration"],
"microsoft" => ["configUrl" => "https://login.windows.net/common/.well-known/openid-configuration"],
"apple" => ["configUrl" => "https://appleid.apple.com/.well-known/openid-configuration"],
Expand Down
Binary file added images/orcid-sign-in.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions locale/en_US/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@
<message key="plugins.generic.openid.select.provider.google">Sign in with Google</message>
<message key="plugins.generic.openid.select.provider.microsoft">Sign in with Microsoft</message>
<message key="plugins.generic.openid.select.provider.apple">Sign in with Apple</message>
<message key="plugins.generic.openid.select.provider.orcid">Sign in with Orcid</message>
<message key="plugins.generic.openid.settings.orcid.enable">ORCID OpenID Connect</message>
<message key="plugins.generic.openid.settings.orcid.desc"><![CDATA[Please use this redirect URL (see <a href='https://github.com/ORCID/ORCID-Source/blob/master/orcid-web/ORCID_AUTH_WITH_OPENID_CONNECT.md' target='_blank' rel='noopener'>tutorial</a>):]]></message>

</locale>

0 comments on commit c836d33

Please sign in to comment.