go_sso 0.4.2 → 0.4.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: 74e802c1f65aec69060e5b79aa378ab4d2470c0a4f3adf7466add39a2875c569
4
- data.tar.gz: 60a13a8e3b6045086887e3c1687cf5ae7f03f677d47eee2fc630b19c28a91a01
3
+ metadata.gz: 155cd585d52719cff9b8a3fbed42c64fd2cc0063186ba11bb840a584fd346fb9
4
+ data.tar.gz: a935bd3d46dfe1b2ecbeac71638ebd545eccb88757b965fb4d273276a948696d
5
5
  SHA512:
6
- metadata.gz: 17746ae23a5d433886c56c60b922cb7a43b0abcab8a4f8907badac7107000b2252a3066a951094540a2217515139c303f2dae8830c54fcbd346c46fda4289dca
7
- data.tar.gz: 88136bf0a22d248db516aded9bd146efd6c0d3bfbe5458119144604e71e9f00b2d440e49fb1de0fdc706ed725ff1acd24096dbec5a0fa9f28a33ba607a98d19a
6
+ metadata.gz: acd883edfc6190905d84f311efb3ab1f0be7878ec7016cc377fff1807eea9898284b87bf5f9d03c8d78bec21513113f466a1be2d3946eec8a0fb54fa86b297f5
7
+ data.tar.gz: ea51cac736405682d09b0c9bf9ff0e9f5eb99b509c40c48717bb579401950178d710e992f5c72f64fd775e0745c7e480df7da7315426fb809ba93d33a98c93d1
@@ -26,7 +26,7 @@ module GoSso
26
26
 
27
27
  def authenticate_sso_user_permission
28
28
  unless current_sso_user
29
- return redirect_to(go_sso_auth_url(redirect_url: request.url))
29
+ return redirect_to(main_app.go_sso_auth_url(redirect_url: request.url))
30
30
  end
31
31
 
32
32
  unless current_sso_user.can_access?(GoSso.main_app_module_name)
@@ -1,3 +1,3 @@
1
1
  module GoSso
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yi Feng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-26 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2