omniauth-fenix 1.0.8 → 1.0.9

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: 855228792ff4a71fe79e68a952d14b61823c8de5
4
- data.tar.gz: 90a1a345860d9156691c05f95e47f21a803bde66
3
+ metadata.gz: 47ade443df2264c95108508bb98ec3eb32259081
4
+ data.tar.gz: cc25e2480b58512cd785fdd91ba5266dfcfae7fd
5
5
  SHA512:
6
- metadata.gz: db7b11a0c4ae15495807987cb103783bad76a57ab963a912001d15c1b11c4f173bf8b8a9be39da05f0f81b62135a543038c7ab5d15312de84b5b11886e6f7838
7
- data.tar.gz: 2b5c4ab0167ac429e0f6f4506526920c7cb5da9a8c8fa324e3790a48fe467c4cec484f565477d63e11061d8bfef0a7a45b96afb10252a06a103475f384fe1540
6
+ metadata.gz: 020aa95c5efc30b57ffd27e6662581f86229c39097b58ff9fda6f6d54ebd9419ea527cbfd22e2d9d0b110894536d8a298526094efda3311f8b58565176c3c8b3
7
+ data.tar.gz: 47175ff7fd5481d12cbb30daede54c5489c40f1cd1be54961b7d718b9169e15947e06fe4fa0d7af2e9d9605c4de24096058c4e5d173a42becdd616acb0d336b5
@@ -5,7 +5,16 @@ module OmniAuth
5
5
  class Fenix < OmniAuth::Strategies::OAuth2
6
6
  option :name, 'fenix'
7
7
 
8
+ option :client_options, {
9
+ :site => 'https://fenix.tecnico.ulisboa.pt/api/fenix/v1',
10
+ :token_url => 'https://fenix.tecnico.ulisboa.pt/oauth/access_token',
11
+ :authorize_url => 'https://fenix.tecnico.ulisboa.pt/oauth/'
12
+ }
13
+
8
14
  def request_phase
15
+ p "oi"
16
+ p request_url
17
+ p "oi"
9
18
  redirect request_url
10
19
  end
11
20
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fenix
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
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: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Mangas Pereira