omniauth-kona 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -3
- data/lib/omniauth-kona/version.rb +1 -1
- data/lib/omniauth/strategies/kona.rb +5 -3
- data/omniauth-kona.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 488266e6a0695ba2b451c6e87e19f9ec3f945f673b6ce4a80bb2d5669495b950
|
4
|
+
data.tar.gz: fd9ddae2247f43f1ecc512c18f70aca44d9da1102b29dd88f34deed8d632f5b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4245e96e5f7ef1657b10adceb3c4b2dc42a82b8777e46a9849a99a5c5d66049d74c7fe05807f0d51434a56effed56406ecb2a8f38627218d4115d3d55ebf646
|
7
|
+
data.tar.gz: eb5fa2f169d5d72f246c8794cc4c67f26600dadd1ff544f385b374031eee1912e9d799a5bbc7edd87fd6e411abdaad3370d485bf7e1a0255ac37aa25b5ac4a2a
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
OmniAuth strategy for authenticating your users using Kona.
|
4
4
|
|
5
|
-
[ ![Codeship Status for ronaldsalas/omniauth-kona](https://codeship.com/projects/4bb85690-450f-0133-7583-6641cf1712e7/status?branch=master)](https://codeship.com/projects/104599)
|
6
|
-
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
@@ -91,7 +89,7 @@ We have provided the key `member` under the `extra` hash to identify if user is
|
|
91
89
|
|
92
90
|
## Contributing
|
93
91
|
|
94
|
-
1. Fork it ( https://github.com/
|
92
|
+
1. Fork it ( <https://github.com/konateam/omniauth-kona/fork> )
|
95
93
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
96
94
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
97
95
|
4. Push to the branch (`git push origin my-new-feature`)
|
@@ -3,11 +3,13 @@ require 'omniauth-oauth2'
|
|
3
3
|
module OmniAuth
|
4
4
|
module Strategies
|
5
5
|
class Kona < OmniAuth::Strategies::OAuth2
|
6
|
+
BASE_DOMAIN = "io.kona.com"
|
7
|
+
|
6
8
|
option :name, "kona"
|
7
9
|
option :client_options, {
|
8
|
-
:site =>
|
9
|
-
:authorize_url =>
|
10
|
-
:token_url =>
|
10
|
+
:site => "https://#{BASE_DOMAIN}",
|
11
|
+
:authorize_url => "https://#{BASE_DOMAIN}/oauth/authorize",
|
12
|
+
:token_url => "https://#{BASE_DOMAIN}/oauth/token"
|
11
13
|
}
|
12
14
|
|
13
15
|
def request_phase
|
data/omniauth-kona.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["ronaldsalas@deltek.com"]
|
11
11
|
|
12
12
|
spec.summary = 'Kona OAuth2 strategy for Omniauth'
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/konateam/omniauth-kona'
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.
|
21
|
+
spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.6'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.16.2"
|
24
24
|
spec.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-kona
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronald Salas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,7 +87,7 @@ files:
|
|
87
87
|
- lib/omniauth-kona/version.rb
|
88
88
|
- lib/omniauth/strategies/kona.rb
|
89
89
|
- omniauth-kona.gemspec
|
90
|
-
homepage: https://github.com/
|
90
|
+
homepage: https://github.com/konateam/omniauth-kona
|
91
91
|
licenses:
|
92
92
|
- MIT
|
93
93
|
metadata: {}
|
@@ -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.
|
110
|
+
rubygems_version: 2.7.9
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Kona OAuth2 strategy for Omniauth
|