roqua-core-api 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roqua/core_api/version.rb +1 -1
- data/lib/roqua/omniauth/rails_initializer.rb +4 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 525bad4bd5d6f0bf56e38eae8f8aa3c266932ba9
|
4
|
+
data.tar.gz: 3e56da95c04d4bf6b166a6582cb3eda467167c8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d3606d20042a3e8a644172f2ee0b00868925598e09f4fcbe9baf7703e113d6c462553fcc505970e681754121976da795f85180b11ebc36874ed3afacf988722
|
7
|
+
data.tar.gz: 0cc51596844ae875770c0108bc64d2ed893dd0bf490bda376614497c77cc0dbf31ad21b47d3fb2ae513d822ae2329be8538b5904070d6f72d0d4828a74efd9e8
|
@@ -4,16 +4,8 @@ require 'roqua/omniauth/strategies/doorkeeper'
|
|
4
4
|
OmniAuth.config.logger = Rails.logger
|
5
5
|
|
6
6
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
'49b42787e6fcf9d42878c62c77817a92251abf48923d8c269c9c088e66066fd2',
|
12
|
-
client_options: {site: 'http://core.dev'}
|
13
|
-
else
|
14
|
-
provider :doorkeeper,
|
15
|
-
ENV.fetch('CORE_OAUTH_CLIENT_ID'),
|
16
|
-
ENV.fetch('CORE_OAUTH_CLIENT_SECRET'),
|
17
|
-
client_options: {site: ENV.fetch('CORE_OAUTH_URL')}
|
18
|
-
end
|
7
|
+
provider :doorkeeper,
|
8
|
+
ENV.fetch('CORE_OAUTH_CLIENT_ID'),
|
9
|
+
ENV.fetch('CORE_OAUTH_CLIENT_SECRET'),
|
10
|
+
client_options: {site: ENV.fetch('CORE_SITE')}
|
19
11
|
end
|