omniauth-fenix 2.1.5 → 2.1.6

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
  SHA1:
3
- metadata.gz: 10b18e9e94eb5914b48ba8981f50e99a3f28a149
4
- data.tar.gz: d27b56fe1f792103051b0d6cadde07326de57b73
3
+ metadata.gz: a963929d344fd1f4b63b4f7d6b9b28bbd80b8f45
4
+ data.tar.gz: c497f397d33879df9dc9298ca41c137ac85d1100
5
5
  SHA512:
6
- metadata.gz: 3a360588cc17985716ee819024047df49fd72c6154ac3b3f079c31c6120d71feb7e01c330d8e45113c78a3a8036841b3941699faf0819a5819986ffd6be010a6
7
- data.tar.gz: 8c79f72b14d5fc69d43044cf94787eee6d8ca8d8e97228a32d3cf6ee9cd9f03fff7f35d09a2868bd21f830f46c2859d80589a0ed627ecd3e280845e49a30be38
6
+ metadata.gz: acc4d745458089613cdd023f7328a052145bc4f6717026bf489d94058ba82ff22681abb42d427691a51d2945cc51bcf5002279614beefd444381bd6e62a410a0
7
+ data.tar.gz: 53b1f55675452c38d511b9cfff6e5078af818161f328cece2bb132651d213da84fdaf5f13966513f6792b1e7e5bed40466bb1861e243a8d139a7280699884112
@@ -6,14 +6,12 @@ module OmniAuth
6
6
  option :name, 'fenix'
7
7
 
8
8
  option :client_options, {
9
- :site => 'https://fenix.tecnico.ulisboa.pt/api/fenix/v1',
10
9
  :token_url => 'https://fenix.tecnico.ulisboa.pt/oauth/access_token',
11
- :authorize_url => 'https://fenix.tecnico.ulisboa.pt/oauth/'
10
+ :authorize_url => 'https://fenix.tecnico.ulisboa.pt/oauth/userdialog'
12
11
  }
13
12
 
14
13
  def request_phase
15
- puts "Redirecting user to " + request_url
16
- redirect request_url
14
+ super
17
15
  end
18
16
 
19
17
  uid { raw_info['username'] }
@@ -43,12 +41,6 @@ module OmniAuth
43
41
  puts ">>>>>> token: #{token.inspect}"
44
42
  token
45
43
  end
46
-
47
- private
48
-
49
- def request_url
50
- "#{authorize_url}userdialog?client_id=#{client.id}&redirect_uri=#{callback_url}"
51
- end
52
44
  end
53
45
  end
54
46
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fenix
3
- VERSION = "2.1.5"
3
+ VERSION = "2.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-fenix
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Mangas Pereira