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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/osso/routes/admin.rb +6 -6
- data/lib/osso/routes/oauth.rb +2 -2
- data/lib/osso/version.rb +1 -1
- data/spec/support/views/multiple_providers.erb +0 -0
- metadata +3 -4
- data/lib/osso/routes/views/error.erb +0 -1
- data/lib/osso/routes/views/multiple_providers.erb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9762b3c9f7bae7bbb066f2ad4a80cc6ee8b360a730781983712d2b61465e2de2
|
4
|
+
data.tar.gz: 498ad481465fece9cbe1a2045972cfb0e7719ce91e00446085dd88a5eca3b045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b59eb8d8e3008fe05db242994a1e58b7698b72d4ae657c54fe5a8a3e6d8d6db54b69bbefcef4480c7b901ef9a3b7bb3abed575fbf2f76fe9ba5e52901cd29886
|
7
|
+
data.tar.gz: b54fa57263e4b675ec4a8feb2d51e8266621663ca4036b61b114aeae4134a6d089ed99ebbc82c75caf44968b082e1e37be4cc74cbd3c6ffa72cd1f75938f4f91
|
data/Gemfile.lock
CHANGED
data/lib/osso/routes/admin.rb
CHANGED
@@ -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
|
data/lib/osso/routes/oauth.rb
CHANGED
@@ -28,8 +28,8 @@ module Osso
|
|
28
28
|
|
29
29
|
redirect "/auth/saml/#{enterprise.provider.id}" if enterprise.single_provider?
|
30
30
|
|
31
|
-
|
32
|
-
|
31
|
+
@providers = enterprise.identity_providers
|
32
|
+
erb :multiple_providers
|
33
33
|
|
34
34
|
rescue Rack::OAuth2::Server::Authorize::BadRequest => e
|
35
35
|
@error = e
|
data/lib/osso/version.rb
CHANGED
File without changes
|
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.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-
|
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
|