omniauth-orcid 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -2
- data/Rakefile +5 -0
- data/lib/omniauth-orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +1 -1
- metadata +8 -5
data/README.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
# OmniAuth ORCID
|
2
2
|
|
3
|
-
ORCID OAuth 2.0 Strategy for OmniAuth
|
3
|
+
ORCID OAuth 2.0 Strategy for the wonderful [OmniAuth Ruby authentication framework](http://www.omniauth.org).
|
4
4
|
|
5
5
|
Originally created for the [ORCID example client application in Rails](https://github.com/gthorisson/ORCID-example-client-app-rails), then turned into a gem.
|
6
6
|
|
7
|
+
*Note: the gem comes configured to connected to the [ORCID sandbox service](http://devsandbox.orcid.org). Please update the parameters in ```:client_options``` to connect to the live service when it launches (see http://dev.orcid.org/launch)*
|
7
8
|
|
8
|
-
|
9
|
+
|
10
|
+
*...stuff coming, patience plz....*
|
9
11
|
|
10
12
|
|
11
13
|
## More information
|
data/Rakefile
ADDED
@@ -12,7 +12,7 @@ module OmniAuth
|
|
12
12
|
:site => 'http://api.devsandbox.orcid.org',
|
13
13
|
:authorize_url => 'http://devsandbox.orcid.org/oauth/authorize',
|
14
14
|
:token_url => 'http://api.devsandbox.orcid.org/oauth/token',
|
15
|
-
:scope => '/orcid-profile/read-
|
15
|
+
:scope => '/orcid-profile/read-limited',
|
16
16
|
:response_type => 'code',
|
17
17
|
:mode => :header
|
18
18
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-orcid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
@@ -43,17 +43,20 @@ dependencies:
|
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '1.1'
|
46
|
-
description:
|
46
|
+
description: ! 'Enables third-party client apps to connect to the ORCID API and access/update
|
47
|
+
protected profiledata '
|
47
48
|
email: gthorisson@gmail.com
|
48
49
|
executables: []
|
49
50
|
extensions: []
|
50
|
-
extra_rdoc_files:
|
51
|
+
extra_rdoc_files:
|
52
|
+
- README.md
|
51
53
|
files:
|
52
54
|
- lib/omniauth/strategies/orcid.rb
|
53
55
|
- lib/omniauth-orcid/version.rb
|
54
56
|
- lib/omniauth-orcid.rb
|
55
57
|
- README.md
|
56
|
-
|
58
|
+
- Rakefile
|
59
|
+
homepage: https://github.com/gthorisson/omniauth-orcid
|
57
60
|
licenses: []
|
58
61
|
post_install_message:
|
59
62
|
rdoc_options: []
|