keycloak_rails 1.0.0.pre.beta.3 → 1.0.0.pre.beta.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98a0ecf5db2abf6298d50a58478da3bdc91134c02444097faba3b2e010c558fd
4
- data.tar.gz: 74ac6dd209b07faffae9aceeaea82cf499fdc16f9980f78cd0f1dc314d93ec64
3
+ metadata.gz: 4a47033c567b7abf349fc4ccce923b6385b2aa4d465144787d1979a93c5eec32
4
+ data.tar.gz: a5b81b657c571fce94d3a8eb9388cf27e3790196c821a438961e2559022ba2b3
5
5
  SHA512:
6
- metadata.gz: 7beab89686351e4e50bf9b01b4a110816bf0f66cca3467cfe1a597478b3e3b2e8559b980330a4cf51e83d9fcce080761542769fec3ceceb0ffd6297c4ab47872
7
- data.tar.gz: 43ca92304b4f19843800a3d14fcaaef92042ea325be158129503f8fa543e5e94b8ecb5403554a2999bb55489f11580262978f821f7e64b167ecaf3f33df1f73c
6
+ metadata.gz: e9344fb490be9514d46aab9edd00f2fb9185f7692b7f99d192825957b29c3403de048351fd60909d80f852cf4cd267726f0e8aa4030e2a2316be7bd0d9914d3a
7
+ data.tar.gz: '058865570f5d669606f84a3366ede82fb19c4d3e9e45f996f23a39b8b23cb4bb8d49344e70ddda79647130339cbeea53053299dd45ce1af806c10537fe5885ce'
@@ -10,13 +10,6 @@ KeycloakRails.configure do |config|
10
10
  # config.signature_algo = 'RS256'
11
11
  # config.allow_magic_links = true
12
12
  ####################################################
13
- # Rails app controllers to manage auth
14
- # config.sessions_controller = 'sessions'
15
- # config.registrations_controller = 'registrations'
16
- # config.unlocks_controller = 'unlocks'
17
- # config.passwords_controller = 'passwords'
18
- # config.omniauth_controller = 'omniauth'
19
- ####################################################
20
13
  # Rails app models
21
14
  # config.user_model = 'user'
22
15
  ####################################################
@@ -25,6 +25,7 @@ module KeycloakRails
25
25
  return false unless magic_link_params[:code] && magic_link_params[:session_state]
26
26
  return false unless login_by_handshake
27
27
 
28
+ params.delete :code, :session_state
28
29
  true
29
30
  end
30
31
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KeycloakRails
4
- VERSION = '1.0.0-beta.3'
4
+ VERSION = '1.0.0-beta.4'
5
5
  end
@@ -24,11 +24,6 @@ require 'app/models/keycloak_rails/concerns/sso_recipient'
24
24
  module KeycloakRails
25
25
  extend Dry::Configurable
26
26
 
27
- setting :sessions_controller, reader: true
28
- setting :registrations_controller, reader: true
29
- setting :unlocks_controller, reader: true
30
- setting :passwords_controller, reader: true
31
- setting :omniauth_controller, reader: true
32
27
  setting :user_model, reader: true
33
28
  setting :realm, reader: true
34
29
  setting :public_key, reader: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycloak_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.3
4
+ version: 1.0.0.pre.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Omar Luqman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-13 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable