RubyApp 0.6.63 → 0.6.64
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_app/elements/mobile/documents/authentication/open_id/authentication_document.rb +4 -2
- data/lib/ruby_app/scripts/phantom.rb +1 -1
- data/lib/ruby_app/scripts/standard_all.rb +2 -0
- data/lib/ruby_app/scripts/standard_continuous.rb +1 -1
- data/lib/ruby_app/scripts/standard_logon.rb +0 -1
- data/lib/ruby_app/scripts/{standard.rb → standard_no_logon.rb} +0 -0
- data/lib/ruby_app/version.rb +1 -1
- metadata +5 -4
data/lib/ruby_app/elements/mobile/documents/authentication/open_id/authentication_document.rb
CHANGED
@@ -29,12 +29,14 @@ module RubyApp
|
|
29
29
|
@consumer = ::OpenID::Consumer.new(RubyApp::Session.data, nil)
|
30
30
|
request = @consumer.begin(identifier)
|
31
31
|
self.process_request(request)
|
32
|
-
url = request.redirect_url(RubyApp::Request.
|
32
|
+
url = request.redirect_url(RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to],
|
33
|
+
RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to])
|
33
34
|
RubyApp::Log.debug("OPENID --> #{url.inspect}")
|
34
35
|
event.go(url)
|
35
36
|
else
|
36
37
|
RubyApp::Log.debug("OPENID <-- #{RubyApp::Request.url.inspect}")
|
37
|
-
response = @consumer.complete(RubyApp::Request.query,
|
38
|
+
response = @consumer.complete(RubyApp::Request.query,
|
39
|
+
RubyApp::Request.environment[RubyApp::Elements::Mobile::Documents::Authentication::AuthenticationDocument.configuration.return_to])
|
38
40
|
case response.status
|
39
41
|
when ::OpenID::Consumer::SUCCESS
|
40
42
|
self.process_response(response)
|
@@ -1,2 +1,2 @@
|
|
1
|
-
load_script! '
|
1
|
+
load_script! 'standard_no_logon'
|
2
2
|
load_script! 'common/reset'
|
File without changes
|
data/lib/ruby_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyApp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 135
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 64
|
10
|
+
version: 0.6.64
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|
@@ -1466,9 +1466,10 @@ files:
|
|
1466
1466
|
- lib/ruby_app/scripts/elements/trigger.rb
|
1467
1467
|
- lib/ruby_app/scripts/phantom.js
|
1468
1468
|
- lib/ruby_app/scripts/phantom.rb
|
1469
|
-
- lib/ruby_app/scripts/
|
1469
|
+
- lib/ruby_app/scripts/standard_all.rb
|
1470
1470
|
- lib/ruby_app/scripts/standard_continuous.rb
|
1471
1471
|
- lib/ruby_app/scripts/standard_logon.rb
|
1472
|
+
- lib/ruby_app/scripts/standard_no_logon.rb
|
1472
1473
|
- lib/ruby_app/session.rb
|
1473
1474
|
- lib/ruby_app/templates/application/Gemfile
|
1474
1475
|
- lib/ruby_app/templates/application/Rakefile
|