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 +4 -4
- data/lib/omniauth/strategies/himari.rb +3 -0
- data/lib/omniauth-himari/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 230530b0b006d644e0c13080c2aa262453bfcf7fb60223a710aa322425bd46e3
|
4
|
+
data.tar.gz: f41f643510a1b1369da770466399677692cb8dd42a6a67b0d76ab21b45b67d1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
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.
|
122
|
+
rubygems_version: 3.1.6
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: OmniAuth strategy for Himari
|