omniauth-matique 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth-matique/version.rb +1 -1
- data/lib/omniauth/strategies/matique.rb +5 -5
- data/test/oauth2strategy_test.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afb4ed6081fd2540a20e571ee414214e319226cf
|
4
|
+
data.tar.gz: ad567a7d23511af93bfc6e54a371d5a9e99e2cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09e53fc34b5afa6d5fe1f58fa0a1f505d3389c919c083add9dc735e159b71f53e2c33307c270243e907dec8370bc286cc51956b8715459646e5e55599f4ead1
|
7
|
+
data.tar.gz: 125e71daa0c62c7c26b7f08b2e6ef0b753a70801c24e68d8b40f5387552edd3af97ef42fcb195e1671ef624f304cf495cdb827c05b7e198b3f4098526f599953
|
@@ -4,14 +4,14 @@ module OmniAuth
|
|
4
4
|
module Strategies
|
5
5
|
class Matique < OmniAuth::Strategies::OAuth2
|
6
6
|
# AuthUrl = ENV["HEROKU_AUTH_URL"] || "https://id.heroku.com"
|
7
|
-
|
8
|
-
|
7
|
+
AUTH_URL = ENV["AUTH_URL"] || 'http://localhost:3010'
|
8
|
+
# AUTH_URL = 'https://login.matique.de'
|
9
9
|
STRATEGY = 'matique'
|
10
10
|
|
11
11
|
option :client_options, {
|
12
|
-
site:
|
13
|
-
authorize_url: "#{
|
14
|
-
token_url: "#{
|
12
|
+
site: AUTH_URL,
|
13
|
+
authorize_url: "#{AUTH_URL}/auth/#{STRATEGY}/authorize",
|
14
|
+
token_url: "#{AUTH_URL}/auth/#{STRATEGY}/access_token"
|
15
15
|
}
|
16
16
|
|
17
17
|
uid { raw_info['id'] }
|
data/test/oauth2strategy_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-matique
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|