omniauth-moloni 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 63a1b840584bccf0cb729ef1f173b4bd87d33c96ca0f92dcbd8851a2b08aff1e
4
- data.tar.gz: 83fc1fdc0eaac94b69a5223ae90be3a7ad2cee101f278995b9d8f69a2bb27704
3
+ metadata.gz: ef6a71ef136ceb2b8de152b012240067f8dfe0f04501adc997d5a48e17073c09
4
+ data.tar.gz: 91e69089d9d2a3378b76f9b11e74375c101346d77c69b457880a7da31b11a1c6
5
5
  SHA512:
6
- metadata.gz: 04a4ac3bce23a8fe1ff6584679c5d6a43b70a448f5049f3a0de744755737359d7ad2ba33e4c577adf86aec8a4d8bf762457e191652bf8a4d440a6d2c1a5edbe0
7
- data.tar.gz: bfd239e05b2bad986a8070de9bfca58709b8ef9f2496bb4749e90d843a26f383325423554bf97f1cfff6634b643a14fcf513bc028cd2c1649c9fc4a32ef936a6
6
+ metadata.gz: 5daaee335a8c99bb05eb116475eafc7492b2ea0fd31d1d6f6335f49ab14ae980ac7faca62674156923e96b5b5ddb899beb2e39f68605c45454c1370f2e2c8199
7
+ data.tar.gz: a5a3322316c95f541759dff394e6f14e817eb4706b919e28dc0e74327a79ab97c0e4d31a66f161e1ce501a45b9207d569194785411152b6176bf9dae3d0f68f3
@@ -3,6 +3,10 @@ require 'omniauth-oauth2'
3
3
  module OmniAuth
4
4
  module Strategies
5
5
  class Moloni < OmniAuth::Strategies::OAuth2
6
+ # Moloni does not return the state param in the callback redirect,
7
+ # so the omniauth-oauth2 state check must be skipped.
8
+ option :provider_ignores_state, true
9
+
6
10
  option :client_options, {
7
11
  site: 'https://api.moloni.pt/v1/',
8
12
  authorize_url: 'https://api.moloni.pt/v1/authorize/',
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Moloni
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-moloni
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dinis Lage
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2026-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -122,7 +122,7 @@ homepage: https://github.com/dlage/omniauth-moloni
122
122
  licenses:
123
123
  - MIT
124
124
  metadata: {}
125
- post_install_message:
125
+ post_install_message:
126
126
  rdoc_options: []
127
127
  require_paths:
128
128
  - lib
@@ -137,8 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubygems_version: 3.2.33
141
- signing_key:
140
+ rubygems_version: 3.2.3
141
+ signing_key:
142
142
  specification_version: 4
143
143
  summary: Unofficial OmniAuth strategy to authenticate against Moloni platform.
144
144
  test_files: []