osso 0.0.5.pre.kappa → 0.0.5.pre.lambda
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/LICENSE +21 -23
- data/lib/osso/routes/oauth.rb +1 -1
- data/lib/osso/version.rb +1 -1
- data/spec/routes/oauth_spec.rb +2 -1
- data/spec/support/views/multiple_providers.erb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f54c05ff3a991d49e4a47e036573d65f0bb2222371d73b10e665d02169d4a891
|
|
4
|
+
data.tar.gz: 24c4ea3adf0e1c599c315c48cb9700b7ae3d0e8b3c782c564c71692f5287e858
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abd1565c7e9cdea79782176a8fde22e71a734c78fba6bde102066a5913eec4e97207295c1f1fe5dd1acfb2bc91bdb8842a72ec0cbea15a90faf3187e216a366d
|
|
7
|
+
data.tar.gz: 43e39d4a5738b59187a4ff9dc583292450815c0ceb6d4bfae29becc7ee0de9d8ddc4d34cd4b2c1e3d577a19690fbda81c5d0dff6f2aaf71527e3b9f9d9578dd8
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
osso (0.0.5.pre.
|
|
4
|
+
osso (0.0.5.pre.lambda)
|
|
5
5
|
activesupport (>= 6.0.3.2)
|
|
6
6
|
graphql
|
|
7
7
|
jwt
|
|
@@ -51,7 +51,7 @@ GEM
|
|
|
51
51
|
activesupport (>= 5.0.0)
|
|
52
52
|
faker (2.14.0)
|
|
53
53
|
i18n (>= 1.6, < 2)
|
|
54
|
-
graphql (1.11.
|
|
54
|
+
graphql (1.11.5)
|
|
55
55
|
hashdiff (1.0.1)
|
|
56
56
|
hashie (4.1.0)
|
|
57
57
|
httpclient (2.8.3)
|
data/LICENSE
CHANGED
|
@@ -2,33 +2,31 @@ Business Source License 1.1
|
|
|
2
2
|
|
|
3
3
|
Parameters
|
|
4
4
|
|
|
5
|
-
Licensor:
|
|
5
|
+
Licensor: EnterpriseOSS, Inc.
|
|
6
6
|
Licensed Work: osso-rb
|
|
7
|
-
The Licensed Work is (c) 2020
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Change Date: 2023-05-01
|
|
7
|
+
The Licensed Work is (c) 2020 EnterpriseOSS, Inc.
|
|
8
|
+
|
|
9
|
+
Additional Use Grant: You and your Authorized Users may make use of the
|
|
10
|
+
Licensed Work for your internal business purposes,
|
|
11
|
+
provided that you do not (i) rent, lease, copy, transfer,
|
|
12
|
+
resell, sublicense, lease, time-share, or otherwise provide
|
|
13
|
+
access to the Licensed Work to a third party (except
|
|
14
|
+
Authorized Users) or (ii) incorporate the Licensed Work
|
|
15
|
+
(or any portion of such) with, or use it with or to provide,
|
|
16
|
+
any site, product, or service, other than on sites/applications
|
|
17
|
+
owned and operated by you.
|
|
18
|
+
|
|
19
|
+
An “Authorized User” is defined as an individual person
|
|
20
|
+
(e.g. your employee, contractor, agent) who is registered and
|
|
21
|
+
permitted by you to use the Licensed Work subject to these
|
|
22
|
+
restrictions.
|
|
23
|
+
|
|
24
|
+
Change Date: 2025-10-01
|
|
27
25
|
|
|
28
26
|
Change License: Apache License, Version 2.0
|
|
29
27
|
|
|
30
28
|
For information about alternative licensing arrangements for the Software,
|
|
31
|
-
contact: hello@
|
|
29
|
+
contact: hello@enterpriseoss.dev
|
|
32
30
|
|
|
33
31
|
Notice
|
|
34
32
|
|
|
@@ -108,4 +106,4 @@ other recipients of the licensed work to be provided by Licensor:
|
|
|
108
106
|
|
|
109
107
|
3. To specify a Change Date.
|
|
110
108
|
|
|
111
|
-
4. Not to modify this License in any other way.
|
|
109
|
+
4. Not to modify this License in any other way.
|
data/lib/osso/routes/oauth.rb
CHANGED
|
@@ -24,7 +24,7 @@ module Osso
|
|
|
24
24
|
redirect "/auth/saml/#{enterprise.provider.id}" if enterprise.single_provider?
|
|
25
25
|
|
|
26
26
|
@providers = enterprise.identity_providers.not_pending
|
|
27
|
-
erb :multiple_providers if @providers.count > 1
|
|
27
|
+
return erb :multiple_providers if @providers.count > 1
|
|
28
28
|
|
|
29
29
|
raise Osso::Error::MissingConfiguredIdentityProvider.new(domain: params[:domain])
|
|
30
30
|
rescue Osso::Error::Base => e
|
data/lib/osso/version.rb
CHANGED
data/spec/routes/oauth_spec.rb
CHANGED
|
@@ -48,7 +48,7 @@ describe Osso::Oauth do
|
|
|
48
48
|
|
|
49
49
|
describe 'for an enterprise domain with multiple SAML providers' do
|
|
50
50
|
it 'renders the multiple providers screen' do
|
|
51
|
-
enterprise = create(:enterprise_with_multiple_providers)
|
|
51
|
+
enterprise = create(:enterprise_with_multiple_providers, oauth_client: client)
|
|
52
52
|
|
|
53
53
|
get(
|
|
54
54
|
'/oauth/authorize',
|
|
@@ -59,6 +59,7 @@ describe Osso::Oauth do
|
|
|
59
59
|
)
|
|
60
60
|
|
|
61
61
|
expect(last_response).to be_ok
|
|
62
|
+
expect(last_response.body).to eq("MULITPLE PROVIDERS")
|
|
62
63
|
end
|
|
63
64
|
end
|
|
64
65
|
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MULITPLE PROVIDERS
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: osso
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.5.pre.
|
|
4
|
+
version: 0.0.5.pre.lambda
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Bauch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|