We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c0c1ac commit 4e7bfd1Copy full SHA for 4e7bfd1
lib/kracken/railtie.rb
@@ -7,5 +7,27 @@ class Railtie < ::Rails::Railtie
7
app.middleware.insert_after ActionDispatch::DebugExceptions,
8
::Kracken::JsonApi::PublicExceptions
9
end
10
+
11
+ config.before_initialize do |app|
12
+ app.config.filter_parameters += %i[
13
+ code
14
+ email
15
+ linked_accounts
16
+ raw_info
17
+ redirect_to
18
+ redirect_uri
19
+ state
20
+ token
21
+ ]
22
+ app.config.filter_redirect += [
23
+ "auth/radius",
24
+ "auth/token",
25
26
+ end
27
28
+ # Allow apps to configure the provider in initializers
29
+ config.after_initialize do |app|
30
+ app.config.filter_redirect << URI(Kracken.config.provider_url).host
31
32
33
0 commit comments