omniauth-blockstack 19.1.0 → 19.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3161014d786e05d8f71e8ce7a52afe085f75106c6cf211e006f111cf35ebaab
4
- data.tar.gz: 15f215d399da108135d2b98ed7f4ac96981c32c2fb5e1f6bd7bbdcb7915fa42b
3
+ metadata.gz: 776d407935fe08835db1c337efccd945ed7d61ccb3d33e76beb5970af29dca4f
4
+ data.tar.gz: b8f956c9ebcb41af9c9c87468d3143661ff7dee1b8c008821c6889f549b82014
5
5
  SHA512:
6
- metadata.gz: 7afedd614732c17574a8c839d9d892ee9f4afbf7af45d86ac143a6ce4599df1762b8c75202614d3efdcf5e5e514726e73fcc4eea4c7ba36ad1f2f2ac4f1bbb6b
7
- data.tar.gz: 355c9af55e0d11a71ba9efdba053fce5fe25d7bb2bfac15b96e96a36659fc090e40586c0be5f99021b78f0940e4a7784745afcb82f0aef39534aef3b509427f7
6
+ metadata.gz: 2583740612b9158e06ae65cd85d3e9e4bde06b9ae2b24a4941fac7e3f1ba93e9b6ed0ee410407598d860c5eb6dbe57c848a021fc762fa8ed07fc4af550093783
7
+ data.tar.gz: f9e51cbd39463d5ea793cea7a9452f3a43da21ba2b7ae123af533cf52677c58566c72c894f4e58a171cb4481f581ee8a56abe4884a2013fce2789df58c40b9ea
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Blockstack
3
- VERSION = "19.1.0"
3
+ VERSION = "19.1.1"
4
4
  end
5
5
  end
@@ -55,10 +55,20 @@ module OmniAuth
55
55
 
56
56
  header_info << "<script>#{app_data_js}</script>"
57
57
  header_info << "<script>#{auth_request_js}</script>"
58
- form = OmniAuth::Form.new(:title => "Blockstack Auth Request Generator",
59
- :header_info => header_info,
60
- :url => callback_path)
61
- form.to_response
58
+
59
+ title = "Redirecting to Blockstack"
60
+ html << <<-HTML
61
+ <!DOCTYPE html>
62
+ <html>
63
+ <head>
64
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
65
+ <title>#{title}</title>
66
+ #{header_info}
67
+ </head>
68
+ <body>Redirecting to blockstack</body>
69
+ </html>
70
+ HTML
71
+ Rack::Response.new(html, 200, 'content-type' => 'text/html').finish
62
72
  end
63
73
 
64
74
  def callback_phase
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-blockstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.1.0
4
+ version: 19.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Salibra