omniauth-miro 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/omni_auth/miro/version.rb +1 -1
- data/lib/omni_auth/strategies/miro.rb +9 -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: 187ca0de86709d87ecd64b49f963aac4f165761a7b86eec04cca58e23d68bb0f
|
4
|
+
data.tar.gz: c15998209db5d1e07eaa431b73bb7967d0214b93fb26fa6e8b95c29d801cdf8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be08a6b64feac9bab8242b4e9dc46e5229e4bcc09d46bffd7330acd2a92c2eefb4f99629d8a384e95cb2b890e7d399faa97777ff60334546e4a39c2742a93b00
|
7
|
+
data.tar.gz: af9d8caa433b195cd66dbaa140d717fc8337e9a21f2ba78d3ceb00a9eab3bfdcc1ebdd2ddd4fd11f2288893e5642b380751d413a32b6630cc81f6daf6947e4d2
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -31,12 +31,20 @@ module OmniAuth
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def raw_info
|
34
|
-
@raw_info ||= access_token.get('/v1/oauth-token').parsed
|
34
|
+
@raw_info ||= access_token.get('https://api.miro.com/v1/oauth-token').parsed
|
35
35
|
end
|
36
36
|
|
37
37
|
def callback_url
|
38
38
|
full_host + callback_path
|
39
39
|
end
|
40
|
+
|
41
|
+
def token_params
|
42
|
+
super.tap do |params|
|
43
|
+
params[:client_id] = client.id
|
44
|
+
params[:client_secret] = client.secret
|
45
|
+
params[:redirect_uri] = callback_url
|
46
|
+
end
|
47
|
+
end
|
40
48
|
end
|
41
49
|
end
|
42
50
|
end
|