osso 0.0.3.20 → 0.0.3.21
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/models/identity_provider.rb +5 -5
- data/lib/osso/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c333af7fbc082441290340a2d49c93256b0d6ba6eda97ae6ab3689ccf3335da7
|
4
|
+
data.tar.gz: b4f51151c6e1608b624a857b2ed657be48c44593af4dd621b558a74fe0cca297
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d3ab0db1e4f6137bfbfe30c6f90ed098e061fcd6f90cc62f6b7818bba64c9d59a9c56af3ef87ee987b12f472f69fd890d583406c1630cb80ac6b2725118e8c7
|
7
|
+
data.tar.gz: b6c1d1fda9fd6f4d24dfb5e03a8f3271ff5853ed9660921e0318065c8e0d6c57bce4f400a3b1c49f4b2171b203301c1c1782ba9f76b976cf42f65e9be801523c
|
data/Gemfile.lock
CHANGED
@@ -12,10 +12,6 @@ module Osso
|
|
12
12
|
|
13
13
|
def name
|
14
14
|
service.titlecase
|
15
|
-
# raise(
|
16
|
-
# NoMethodError,
|
17
|
-
# '#name must be defined on each provider specific subclass',
|
18
|
-
# )
|
19
15
|
end
|
20
16
|
|
21
17
|
def saml_options
|
@@ -29,7 +25,7 @@ module Osso
|
|
29
25
|
|
30
26
|
def assertion_consumer_service_url
|
31
27
|
[
|
32
|
-
|
28
|
+
root_url,
|
33
29
|
'auth',
|
34
30
|
'saml',
|
35
31
|
id,
|
@@ -44,6 +40,10 @@ module Osso
|
|
44
40
|
|
45
41
|
self.status = 'CONFIGURED' if sso_url && sso_cert
|
46
42
|
end
|
43
|
+
|
44
|
+
def root_url
|
45
|
+
ENV['HEROKU_APP_NAME'] || ENV.fetch('BASE_URL')
|
46
|
+
end
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
data/lib/osso/version.rb
CHANGED