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 +4 -4
- data/lib/omniauth/strategies/moloni.rb +4 -0
- data/lib/omniauth-moloni/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef6a71ef136ceb2b8de152b012240067f8dfe0f04501adc997d5a48e17073c09
|
|
4
|
+
data.tar.gz: 91e69089d9d2a3378b76f9b11e74375c101346d77c69b457880a7da31b11a1c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/',
|
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.
|
|
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:
|
|
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.
|
|
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: []
|