File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def client
25
25
26
26
options . client_id = provider . client_id
27
27
options . client_secret = provider . client_secret
28
- options . tenant_id =
28
+ options . tenant_id =
29
29
provider . respond_to? ( :tenant_id ) ? provider . tenant_id : 'common'
30
30
31
31
options . authorize_params . domain_hint = provider . domain_hint if provider . respond_to? ( :domain_hint ) && provider . domain_hint
@@ -53,6 +53,9 @@ def client
53
53
}
54
54
end
55
55
56
+ def callback_url
57
+ full_host + script_name + callback_path
58
+ end
56
59
57
60
def raw_info
58
61
# it's all here in JWT http://msdn.microsoft.com/en-us/library/azure/dn195587.aspx
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
gem . add_dependency 'omniauth' , '~> 1.0'
20
20
gem . add_dependency 'jwt' , '~> 1.0'
21
21
22
- gem . add_runtime_dependency 'omniauth-oauth2' , '~> 1.1 '
22
+ gem . add_runtime_dependency 'omniauth-oauth2' , '~> 1.4 '
23
23
24
24
gem . add_development_dependency 'rspec' , '>= 2.14.0'
25
25
gem . add_development_dependency 'rake'
You can’t perform that action at this time.
0 commit comments