omniauth-sberbusiness 1.0.1 → 1.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f647fc076a2b9a526218674e4e7afbba70c74cf7ac87d9b6e805c881dca3d10a
|
4
|
+
data.tar.gz: 46e18e745497036025142dd999e872737dca3c20e1dd9eb82d5ef0efdf090fe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8839add68cd81398a4cad7c9878503380de67380d744eb554926e925ad8dad3511b0db975c04866dbc0d59bbe994cdca5ceb7311576ce04f7e4ca97aa529a92
|
7
|
+
data.tar.gz: 8a204cac12ee548d80a43ae7ecbe781334d53e6aa98f641b6c779c730cb72b47106ac9259f88a1c874b83c5629c691da8b5dddbe4c2117d93459dcb96c0ad0b4
|
@@ -1,5 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
# ecoding: utf-8
|
3
2
|
|
4
3
|
require 'omniauth/strategies/oauth2'
|
5
4
|
require 'securerandom'
|
@@ -17,9 +16,9 @@ module OmniAuth
|
|
17
16
|
option :name, 'sberbusiness'
|
18
17
|
|
19
18
|
option :client_options,
|
20
|
-
site: 'https://
|
21
|
-
token_url: 'https://
|
22
|
-
authorize_url: 'https://
|
19
|
+
site: 'https://sbi.sberbank.ru:9443', # 'https://edupir.testsbi.sberbank.ru:9443', # 'https://sbi.sberbank.ru:9443',
|
20
|
+
token_url: 'https://sbi.sberbank.ru:9443/ic/sso/api/v2/oauth/token', # https://edupirfintech.sberbank.ru:9443 https://sbi.sberbank.ru:9443/ic/sso/api/v2/oauth/token
|
21
|
+
authorize_url: 'https://sbi.sberbank.ru:9443/ic/sso/api/v2/oauth/authorize'
|
23
22
|
# 'https://edupir.testsbi.sberbank.ru:9443/ic/sso/api/v2/oauth/authorize' # 'https://sbi.sberbank.ru:9443/ic/sso/api/v2/oauth/authorize'
|
24
23
|
|
25
24
|
option :authorize_options, %i[scope response_type client_type client_id state nonce]
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-sberbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergei Baksheev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -45,6 +45,7 @@ files:
|
|
45
45
|
- lib/omniauth-sberbusiness.rb
|
46
46
|
- lib/omniauth/sberbusiness/version.rb
|
47
47
|
- lib/omniauth/strategies/sberbusiness.rb
|
48
|
+
- omniauth-sberbusiness-1.0.0.gem
|
48
49
|
- omniauth-sberbusiness.gemspec
|
49
50
|
homepage: https://github.com/insales/omniauth-sberbusiness
|
50
51
|
licenses:
|
@@ -65,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
66
|
- !ruby/object:Gem::Version
|
66
67
|
version: '0'
|
67
68
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
69
|
+
rubygems_version: 3.2.19
|
69
70
|
signing_key:
|
70
71
|
specification_version: 4
|
71
72
|
summary: Sberbusiness OAuth2 Strategy for OmniAuth
|