osso 0.0.5.pre.beta → 0.0.5.pre.delta

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: e2f9a55978dad2e0b1829183ff8c023a4a9981c9403e4fb7b7fce0448bd553d9
4
- data.tar.gz: 3355b2e9c7ebe56afbe62ad678c2bda13ab7d924ae8e341511763df8683ece81
3
+ metadata.gz: 9762b3c9f7bae7bbb066f2ad4a80cc6ee8b360a730781983712d2b61465e2de2
4
+ data.tar.gz: 498ad481465fece9cbe1a2045972cfb0e7719ce91e00446085dd88a5eca3b045
5
5
  SHA512:
6
- metadata.gz: f8128ec3cd5ae5111ebe6fab2af92fd8fd5b7e1c5b4f10b2c72867b1bc6dd8465207f4376f264c70a2d75aab7cef2385f905d8597f25fed6557a70bab0b807ef
7
- data.tar.gz: b0f6199724d71b0cd3b6c21d1b2194cf5ce731c896b84d1be0f1558d5bffaa69b58196487f60a68559404488a1da8cac55b09262bf6c822f4ce5492c7f271a60
6
+ metadata.gz: b59eb8d8e3008fe05db242994a1e58b7698b72d4ae657c54fe5a8a3e6d8d6db54b69bbefcef4480c7b901ef9a3b7bb3abed575fbf2f76fe9ba5e52901cd29886
7
+ data.tar.gz: b54fa57263e4b675ec4a8feb2d51e8266621663ca4036b61b114aeae4134a6d089ed99ebbc82c75caf44968b082e1e37be4cc74cbd3c6ffa72cd1f75938f4f91
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- osso (0.0.5.pre.alpha)
4
+ osso (0.0.5.pre.gamma)
5
5
  activesupport (>= 6.0.3.2)
6
6
  graphql
7
7
  jwt
@@ -16,37 +16,37 @@ module Osso
16
16
  get '/login' do
17
17
  token_protected!
18
18
 
19
- erb :admin
19
+ erb :admin, layout: false
20
20
  end
21
21
 
22
22
  get '' do
23
23
  internal_protected!
24
24
 
25
- erb :admin
25
+ erb :admin, layout: false
26
26
  end
27
27
 
28
28
  get '/enterprise' do
29
29
  token_protected!
30
30
 
31
- erb :admin
31
+ erb :admin, layout: false
32
32
  end
33
33
 
34
34
  get '/enterprise/:domain' do
35
35
  enterprise_protected!(params[:domain])
36
36
 
37
- erb :admin
37
+ erb :admin, layout: false
38
38
  end
39
39
 
40
40
  get '/config' do
41
41
  admin_protected!
42
42
 
43
- erb :admin
43
+ erb :admin, layout: false
44
44
  end
45
45
 
46
46
  get '/config/:id' do
47
47
  admin_protected!
48
48
 
49
- erb :admin
49
+ erb :admin, layout: false
50
50
  end
51
51
  end
52
52
  end
@@ -28,8 +28,8 @@ module Osso
28
28
 
29
29
  redirect "/auth/saml/#{enterprise.provider.id}" if enterprise.single_provider?
30
30
 
31
- # TODO: multiple provider support
32
- # erb :multiple_providers
31
+ @providers = enterprise.identity_providers
32
+ erb :multiple_providers
33
33
 
34
34
  rescue Rack::OAuth2::Server::Authorize::BadRequest => e
35
35
  @error = e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osso
4
- VERSION = '0.0.5-beta'
4
+ VERSION = '0.0.5-delta'
5
5
  end
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.beta
4
+ version: 0.0.5.pre.delta
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-16 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -327,8 +327,6 @@ files:
327
327
  - lib/osso/routes/auth.rb
328
328
  - lib/osso/routes/oauth.rb
329
329
  - lib/osso/routes/routes.rb
330
- - lib/osso/routes/views/error.erb
331
- - lib/osso/routes/views/multiple_providers.erb
332
330
  - lib/osso/version.rb
333
331
  - lib/tasks/bootstrap.rake
334
332
  - osso-rb.gemspec
@@ -359,6 +357,7 @@ files:
359
357
  - spec/support/spec_app.rb
360
358
  - spec/support/views/admin.erb
361
359
  - spec/support/views/error.erb
360
+ - spec/support/views/multiple_providers.erb
362
361
  homepage: https://github.com/enterprise-oss/osso-rb
363
362
  licenses:
364
363
  - MIT
@@ -1 +0,0 @@
1
- <%= @error %>
@@ -1 +0,0 @@
1
- multiple providers