omniauth-greenhouse 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/omniauth/strategies/greenhouse.rb +1 -1
- data/omniauth-greenhouse.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44376ada70fff649a1c29c0721e1e2ef5bfbd881
|
4
|
+
data.tar.gz: c998dea3b8a77d5f7b5c1b31ca844189e7406450
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25a597c7902b8982a70fe271200f850f48534a6fd46a38ef4dbd221dcb461b63eb3a62aa98c9862cf8ce6f3e96eaa00fdfc7ff0d44b13e81dc8ade5cc98cd37f
|
7
|
+
data.tar.gz: 4badf9827c3cb7c0015766d533bc1b43c358199714f057b60700be0b3c37a6cdefc9b6d54cf7b85d19902f3a06bb8d227dfc7060edc24a00ba563cf589747e01
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ your application, you will need to provide:
|
|
26
26
|
|
27
27
|
* Application Name
|
28
28
|
* Application URL
|
29
|
-
* Callback URL (using OmniAuth, it will be http://myapp.example.com/
|
29
|
+
* Callback URL (using OmniAuth, it will be http://myapp.example.com/auth/greenhouse/callback)
|
30
30
|
* Small 128x128px Logo to display in the Greenhouse Authorizaiton screen
|
31
31
|
|
32
32
|
Once you receive your CLIENT_KEY and CLIENT_SECRET, add this to your config/initializers/omniauth.rb file:
|
@@ -40,13 +40,13 @@ end
|
|
40
40
|
|
41
41
|
After this is configured, your users will be able to authorize your application to use their Greenhouse account via:
|
42
42
|
|
43
|
-
http://myapp.example.com/
|
43
|
+
http://myapp.example.com/auth/greenhouse
|
44
44
|
|
45
45
|
The user will be presented with an authorization screen. When the user clicks on the 'Authorize' button, they will be
|
46
46
|
redirected back to your site to the 'Callback URL' you provided during the application registration process. This
|
47
47
|
callback URL will look something like:
|
48
48
|
|
49
|
-
http://myapp.example.com/
|
49
|
+
http://myapp.example.com/auth/greenhouse/callback
|
50
50
|
|
51
51
|
If the user clicked on the 'Authorize' button, you can retrieve the OAuth 2.0 token via:
|
52
52
|
|
data/omniauth-greenhouse.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'omniauth-greenhouse'
|
7
|
-
spec.version = '1.3.
|
7
|
+
spec.version = '1.3.1'
|
8
8
|
spec.authors = %w(timothy.frey)
|
9
9
|
spec.email = %w(tech@greenhouse.io)
|
10
10
|
spec.description = 'Integrate with Greenhouse with OmniAuth'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-greenhouse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- timothy.frey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.4.
|
110
|
+
rubygems_version: 2.4.5.1
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Integrate with Greenhouse with OmniAuth
|