omniauth-tent 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/omniauth/strategies/tent.rb +1 -1
- data/lib/omniauth-tent/version.rb +1 -1
- metadata +2 -2
@@ -145,7 +145,7 @@ module OmniAuth
|
|
145
145
|
:tent_post_types => options[:post_types].join(','),
|
146
146
|
:tent_notification_url => options[:notification_url],
|
147
147
|
:scope => options[:app][:scopes].keys.join(','),
|
148
|
-
:redirect_uri => callback_url,
|
148
|
+
:redirect_uri => Array(options.app.redirect_uris).first || callback_url,
|
149
149
|
}
|
150
150
|
params[:state] = set_state(:state, SecureRandom.hex(32))
|
151
151
|
build_uri_params!(auth_uri, params)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-tent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|