publishing_platform_sso 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/publishing_platform_sso/config.rb +2 -1
- data/lib/publishing_platform_sso/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: e2cddff2f7bae3316381a36ba7fe8ff3c85fbc0564974da9a027236b53a10231
|
4
|
+
data.tar.gz: 6236ee9276d13f4e9f8dc0db85afff77076d76eaa1bc1c71cf95c0f8e8962085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e4e2ffb09f72ecb477f756ac9f3e9bdcf632d1e96aab548f896c70aacbd0cd8ca770ce416c4e9835a3d36b70150f3e3fd430904453aadbb625350d295adf39
|
7
|
+
data.tar.gz: 4340d211877b42360641492bd1f20e9fa96c94896284f6e345e7074c1032876e4e8d4105d7acef77a18bd0a4c50fe885fce765f4172497c32b3ed10e4269740f
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require "active_support/cache/null_store"
|
2
|
+
require "publishing_platform_location"
|
2
3
|
|
3
4
|
module PublishingPlatform
|
4
5
|
module SSO
|
@@ -19,7 +20,7 @@ module PublishingPlatform
|
|
19
20
|
|
20
21
|
# Location of the OAuth server
|
21
22
|
mattr_accessor :oauth_root_url
|
22
|
-
@@oauth_root_url =
|
23
|
+
@@oauth_root_url = PublishingPlatformLocation.find("signon")
|
23
24
|
|
24
25
|
mattr_accessor :auth_valid_for
|
25
26
|
@@auth_valid_for = 20 * 3600
|