osso 0.0.5.pre.kappa → 0.0.5.pre.lambda

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32adee4bda1e820397be3bbbabc6c46d8f09b80d6134bccfab742d97b1882452
4
- data.tar.gz: '038cb1db738ae60f82e0473adb5fde31ac2984207ab738238ea9ff111681f415'
3
+ metadata.gz: f54c05ff3a991d49e4a47e036573d65f0bb2222371d73b10e665d02169d4a891
4
+ data.tar.gz: 24c4ea3adf0e1c599c315c48cb9700b7ae3d0e8b3c782c564c71692f5287e858
5
5
  SHA512:
6
- metadata.gz: d3c6f2cc883a872c755d06107ce196f92510a9e78835eef0c64977c4300d7cbfd897bbd77f0040a018982c3b038dbf6786a0217982a07742f88f8fe8ee3ac5c8
7
- data.tar.gz: a28ee25431469d0d3828eea72231ffc977bada859f6394b674ff2d052ce24a8eaa5303a0ff03e9a0ca77a3e5752a19668aecb48f29c202cd9d4de6a45f8478e0
6
+ metadata.gz: abd1565c7e9cdea79782176a8fde22e71a734c78fba6bde102066a5913eec4e97207295c1f1fe5dd1acfb2bc91bdb8842a72ec0cbea15a90faf3187e216a366d
7
+ data.tar.gz: 43e39d4a5738b59187a4ff9dc583292450815c0ceb6d4bfae29becc7ee0de9d8ddc4d34cd4b2c1e3d577a19690fbda81c5d0dff6f2aaf71527e3b9f9d9578dd8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- osso (0.0.5.pre.iota)
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.4)
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: Samuel Bauch
5
+ Licensor: EnterpriseOSS, Inc.
6
6
  Licensed Work: osso-rb
7
- The Licensed Work is (c) 2020 Samuel Bauch.
8
- Additional Use Grant: You may make use of the Licensed Work, provided that you do
9
- not use the Licensed Work in a Single Sign On Management
10
- Service.
11
-
12
- A "Single Sign On Management Service" is an offering
13
- (be it free or commercial) that uses the Licensed Work
14
- to allow third parties (other than your employees and
15
- contractors) to access the functionality of the
16
- Licensed Work such that any fourth parties directly
17
- benefit from the authentication, configuration, or
18
- documentation features of the Licensed Work.
19
-
20
- You thus may only use the Licensed Work in a manner
21
- whereby parties who directly benefit from the
22
- authentication, configuration, or documentation features
23
- of the Licensed Work are yourself, your employees or
24
- contractors, and your customers or partners.
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@enterprise-oss.dev
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.
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osso
4
- VERSION = '0.0.5-kappa'
4
+ VERSION = '0.0.5-lambda'
5
5
  end
@@ -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.kappa
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-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport