omniauth-swoop 0.1.4 → 0.1.5

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: bd4aa8caa0678c66db380f845a96caf265efb87102a04e19d270f384842ea29d
4
- data.tar.gz: c799f48f8ddf1aeb52dcb2d261dbc363aabb2f82e6b90fd011f8832404a8fe7f
3
+ metadata.gz: e47bff27db8dc603f3c30e2983518c1a6695266e4c7a29d3404d5895843c3f58
4
+ data.tar.gz: 89cfc14d41e10aa4611071b311be486d1ae71a7abadf3d114fa9a5febf9f70da
5
5
  SHA512:
6
- metadata.gz: 89035660cb20db74ce7bd15a6f410d00a907b54d60e685418680ac7a02a816773047cf1af0d9117abb51dfd356981e6ea2622a98bc1f87d8dc9dfdd0ba0ef67d
7
- data.tar.gz: a8c0752357f8b552935b774f42ca5c61cf35a9d8eec18d950f0e2b591b2ec5571952bab3c52862be605ab171fe23b4d5c13258b8aa881c361970a814fdb98d40
6
+ metadata.gz: 30bd54de5fd21232fd1a9bc6d062481c2b16144d2f174c3b6891df94953642fc17b80ea844281fe8e65e32c0a14e702a3de282256e25cc8ce39494922bc1573a
7
+ data.tar.gz: ed33d1c2df631ab694e3655bf874a141d2ed18a9733d7a9e1e948d853111e7351452fb4f1215e92a1474fbbaa17b2655e7ec42d0a43726b729a37119c3584764
@@ -4,6 +4,8 @@ module OmniAuth
4
4
  module Strategies
5
5
  class Swoop < OmniAuth::Strategies::OAuth2
6
6
 
7
+ include OmniAuth::Strategy
8
+
7
9
  option :name, "swoop"
8
10
 
9
11
  option :client_options, {
@@ -41,7 +43,7 @@ module OmniAuth
41
43
  { raw_info: raw_info }
42
44
  end
43
45
 
44
- def raw_info
46
+ def raw_info
45
47
  @raw_info ||= access_token.get(options.client_options[:user_info_url]).parsed
46
48
  @raw_info["id_token"] = access_token.params["id_token"]
47
49
  end
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Swoop
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'omniauth-swoop'
4
- s.version = '0.1.4'
4
+ s.version = '0.1.5'
5
5
  s.date = '2021-01-19'
6
6
  s.homepage = "https://github.com/swoop-password-free/omniauth-swoop"
7
7
  s.description = %q{OmniAuth strategy for Swoop passwordless authentication}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-swoop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Trebitowski