omniauth-himari 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e0893a03b785bcd261fef655f3a0b3cb028c96dfa6c4a1d7f7dbcb073aca829
4
- data.tar.gz: 102f5d881f499c53d5ba26d2b2f45a92d4aed32b2939402920e54c5bd98058c8
3
+ metadata.gz: 230530b0b006d644e0c13080c2aa262453bfcf7fb60223a710aa322425bd46e3
4
+ data.tar.gz: f41f643510a1b1369da770466399677692cb8dd42a6a67b0d76ab21b45b67d1b
5
5
  SHA512:
6
- metadata.gz: f0325dc8b5ac4ad416691ddd05f4507552373a9bd0fb9711a2843df0a62d44542b9367a48610416dd72f04422e119387225d6691b3411e1b9b4d6a9ef295dabc
7
- data.tar.gz: 7e54db6981aaeac63d47c250dabdf1d113c382c76bd2c3f6a713326fa3fd1a1ed6c2fe175daaa81528f002074406b7377dee56aa81de0c197929352f4ea62a4d
6
+ metadata.gz: a1ce14483998a5e6e77067b00923a6b6f1f105a64b8c8def0ec76ca9612126de6ebd086a9f1fb8a95a29dbd7c32c184bb7e22d308d341521e7e40b3a8e0ceb02
7
+ data.tar.gz: 16995e400808c1148001aab5637afbccfaa6b2020f791008c1688c702c248b1b69a7422200d9ba027a9dfbedeb7580d5e527fc4f61ef6a6803ba951579d45078
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'omniauth'
2
4
  require 'omniauth-oauth2'
3
5
  require 'oauth2'
@@ -122,6 +124,7 @@ module OmniAuth
122
124
  def authorize_params
123
125
  super.tap do |params|
124
126
  params[:scope] = 'openid'
127
+ params[:prompt] = request.GET['prompt'] if request.GET['prompt']
125
128
  end
126
129
  end
127
130
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Himari
5
- VERSION = "0.1.1"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-himari
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sorah Fukumori
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.4.0.dev
122
+ rubygems_version: 3.1.6
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: OmniAuth strategy for Himari