keycloak_rails 1.0.0.pre.beta.3 → 1.0.0.pre.beta.5

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: 95147ab91b9426bc49df50cd31d5af76c9ed28196ed5e1bafd827bc9a3fffdcf
4
+ data.tar.gz: c816a755b522149f21a51751bbb5f67ed12c4535329411eb64ac68f5f427ce09
5
5
  SHA512:
6
- metadata.gz: 7beab89686351e4e50bf9b01b4a110816bf0f66cca3467cfe1a597478b3e3b2e8559b980330a4cf51e83d9fcce080761542769fec3ceceb0ffd6297c4ab47872
7
- data.tar.gz: 43ca92304b4f19843800a3d14fcaaef92042ea325be158129503f8fa543e5e94b8ecb5403554a2999bb55489f11580262978f821f7e64b167ecaf3f33df1f73c
6
+ metadata.gz: c45351bfe5408728a7ca3d9b6293979b8d1a4119340aa17a65bdb71c8c93f9fc6e27cc54fbd55c00c31eaabafc84a79b95f8fd8e56de1d06af07cede902bb001
7
+ data.tar.gz: 1247fe2a149c829b501bad5ec37f3f615e466b920e6c31c8c81647a651adbc14661d17526b483309e11a790b8e9ac67e5d9c6e77fef8e47f257785ec8daa9f19
@@ -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,8 @@ 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
29
+ params.delete :session_state
28
30
  true
29
31
  end
30
32
 
@@ -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.5'
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.5
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