oidc_provider 0.3.5 → 0.3.6

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: f903581d92df029d8a6f15819adc80c23e0392e9460692589fcc2ecb7bcc6f08
4
- data.tar.gz: fd0121228874ac0265be84e98d825edf6d5bc0aa5a950758389724692f33c8cf
3
+ metadata.gz: 281787754d33ec3161d0e112b969a52d798852006c5907874e5afb0c8551c798
4
+ data.tar.gz: 273261208a3a0cb9672396c1b73983561217072d3e65d0e07389c4f8aee0e08d
5
5
  SHA512:
6
- metadata.gz: 510c91695ff3ae6fce87ca2f8c3ac718182982d78d28c7da6ded06b95596ea5a4d03ea5abc69cb77185adb08e92ed54be0c06ea972519683403b2f8d2a248243
7
- data.tar.gz: 657fdfc65b6206738bf228c9f12370ccfd2aa49892676821d8d58a3bce62beaf9777b857c3a042cd3efa45a9618e29473f0e00331c270ba930753a87ec6592e8
6
+ metadata.gz: 155aec9d5a0a9249a5443647afee08b722920c3ec6ecee83e5c2bcf0e678ff02a807c20a437eb951765f03903e36bd49b3e6ffc1b24d8e404bcfbd9dc9fa5465
7
+ data.tar.gz: 462bf6e47e53215404bdd8245e14daf6d9697f8f617945aa7ead145ff4cceb812bdf311df6b82d193d66f85fe1c19751e35cb57f2c3eee6928d35b183486424d
@@ -1,5 +1,6 @@
1
1
  module OIDCProvider
2
2
  class ApplicationController < ActionController::Base
3
3
  include Concerns::Authentication
4
+ include Concerns::Session
4
5
  end
5
6
  end
@@ -0,0 +1,9 @@
1
+ module OIDCProvider
2
+ module Concerns
3
+ module Sessions
4
+ def after_oidc_sign_out_path
5
+ "/"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -4,7 +4,7 @@ module OIDCProvider
4
4
 
5
5
  def destroy
6
6
  unauthenticate!
7
- redirect_to OIDCProvider.after_sign_out_path
7
+ redirect_to after_oidc_sign_out_path
8
8
  end
9
9
  end
10
10
  end
@@ -40,9 +40,6 @@ module OIDCProvider
40
40
  mattr_accessor :account_identifier
41
41
  @@account_identifier = :id
42
42
 
43
- mattr_accessor :after_sign_out_path
44
- @@after_sign_out_path = "/"
45
-
46
43
  def self.add_client(&block)
47
44
  @@clients << Client::Builder.new(&block).build
48
45
  end
@@ -1,3 +1,3 @@
1
1
  module OIDCProvider
2
- VERSION = '0.3.5'
2
+ VERSION = '0.3.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oidc_provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Carey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2020-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -52,6 +52,7 @@ files:
52
52
  - app/controllers/oidc_provider/authorizations_controller.rb
53
53
  - app/controllers/oidc_provider/concerns/authentication.rb
54
54
  - app/controllers/oidc_provider/concerns/connect_endpoint.rb
55
+ - app/controllers/oidc_provider/concerns/session.rb
55
56
  - app/controllers/oidc_provider/discovery_controller.rb
56
57
  - app/controllers/oidc_provider/sessions_controller.rb
57
58
  - app/controllers/oidc_provider/user_infos_controller.rb
@@ -94,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
95
  - !ruby/object:Gem::Version
95
96
  version: '0'
96
97
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.6.2
98
+ rubygems_version: 3.0.3
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Uses the openid_connect gem to turn a Rails app into an OpenID Connect provider.