omniauth-lexoffice 0.1.4 → 0.1.5
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/.idea/workspace.xml +19 -1
- data/lib/omniauth/lexoffice/version.rb +1 -1
- data/lib/omniauth/strategies/lexoffice.rb +12 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4b2ce2980f0673be5e02803421d6e6985f2958f26ddd7d3c3776a0d51aea4a4
|
|
4
|
+
data.tar.gz: 1ff7f7046a6230dd062c2b0b75394130d207ae43616624d08ae7af81942c4d6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbe1291a0290eea782e01f35fe3e39ef851a04be945146b2d80ef4124260cdc6f6b561c66d748cb7e3f75f9d79c3c4b2fb9dce938de37d15ffe4e4eca9dbc796
|
|
7
|
+
data.tar.gz: c71301546db3e2ce02621adc57b26e2b90ac0e9dd33683b8644e223f13acec150d01ecfce24261f36a2dfb2e945ec60c5acb45286314467b7a84e412851f1765
|
data/.idea/workspace.xml
CHANGED
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
<component name="MarkdownSettingsMigration">
|
|
45
45
|
<option name="stateVersion" value="1" />
|
|
46
46
|
</component>
|
|
47
|
+
<component name="ProjectColorInfo">{
|
|
48
|
+
"customColor": "",
|
|
49
|
+
"associatedIndex": 1
|
|
50
|
+
}</component>
|
|
47
51
|
<component name="ProjectFrameBounds" extendedState="6">
|
|
48
52
|
<option name="x" value="-8" />
|
|
49
53
|
<option name="y" value="-8" />
|
|
@@ -114,13 +118,17 @@
|
|
|
114
118
|
</component>
|
|
115
119
|
<component name="PropertiesComponent">{
|
|
116
120
|
"keyToString": {
|
|
121
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
117
122
|
"WebServerToolWindowFactoryState": "false",
|
|
118
123
|
"git-widget-placeholder": "master",
|
|
124
|
+
"last_opened_file_path": "C:/Workspace/omniauth-lexoffice",
|
|
119
125
|
"node.js.detected.package.eslint": "true",
|
|
120
126
|
"node.js.detected.package.tslint": "true",
|
|
121
127
|
"node.js.selected.package.eslint": "(autodetect)",
|
|
122
128
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
129
|
+
"nodejs_package_manager_path": "npm",
|
|
123
130
|
"ruby.rails.projectView.checked": "true",
|
|
131
|
+
"ruby.structure.view.model.defaults.configured": "true",
|
|
124
132
|
"vue.rearranger.settings.migration": "true"
|
|
125
133
|
}
|
|
126
134
|
}</component>
|
|
@@ -146,6 +154,7 @@
|
|
|
146
154
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
147
155
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
|
148
156
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
|
157
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_EXAMPLE_MATCHES" VALUE="false" />
|
|
149
158
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="LINE_NUMBER_EXAMPLE_IDS" VALUE="" />
|
|
150
159
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
|
151
160
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
|
@@ -199,7 +208,16 @@
|
|
|
199
208
|
<workItem from="1679489968475" duration="177000" />
|
|
200
209
|
<workItem from="1689586382085" duration="4339000" />
|
|
201
210
|
<workItem from="1689673351765" duration="2635000" />
|
|
202
|
-
<workItem from="1689750584562" duration="
|
|
211
|
+
<workItem from="1689750584562" duration="4134000" />
|
|
212
|
+
<workItem from="1689836490111" duration="4480000" />
|
|
213
|
+
<workItem from="1689923735151" duration="599000" />
|
|
214
|
+
<workItem from="1690215944048" duration="34000" />
|
|
215
|
+
<workItem from="1690268969931" duration="1604000" />
|
|
216
|
+
<workItem from="1690969508298" duration="2567000" />
|
|
217
|
+
<workItem from="1690978918848" duration="604000" />
|
|
218
|
+
<workItem from="1691051191918" duration="2000" />
|
|
219
|
+
<workItem from="1709205023981" duration="1425000" />
|
|
220
|
+
<workItem from="1709277871354" duration="1784000" />
|
|
203
221
|
</task>
|
|
204
222
|
<task id="LOCAL-00001" summary="initial commit">
|
|
205
223
|
<created>1536757055499</created>
|
|
@@ -29,9 +29,18 @@ module OmniAuth
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
def authorize_params
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
super.tap do |params|
|
|
33
|
+
# Prepare the state payload
|
|
34
|
+
state_payload = {
|
|
35
|
+
shop: request.params['shop'],
|
|
36
|
+
host: request.params['host']
|
|
37
|
+
}.to_json
|
|
38
|
+
|
|
39
|
+
# Encode the state payload
|
|
40
|
+
params[:state] = Base64.urlsafe_encode64(state_payload)
|
|
41
|
+
params[:client_id] = options.client_id
|
|
42
|
+
params[:response_type] = 'code'
|
|
43
|
+
end
|
|
35
44
|
end
|
|
36
45
|
|
|
37
46
|
def token_params
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-lexoffice
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Crowder
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
99
|
version: '0'
|
|
100
100
|
requirements: []
|
|
101
|
-
rubygems_version: 3.3.
|
|
101
|
+
rubygems_version: 3.3.26
|
|
102
102
|
signing_key:
|
|
103
103
|
specification_version: 4
|
|
104
104
|
summary: OAUTH2 Strategy for Lexoffice
|