Skip to content

Commit d0a95cb

Browse files
Remove README SLO relay state validator examples
1 parent 0482313 commit d0a95cb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,6 @@ Note that when [integrating with Devise](#devise-integration), the URL path will
116116
[`spec/omniauth/strategies/saml_spec.rb`](spec/omniauth/strategies/saml_spec.rb) for additional
117117
examples.
118118

119-
```ruby
120-
config.omniauth :saml, slo_relay_state_validator: lambda { |relay_state|
121-
relay_state&.start_with?("/")
122-
}
123-
124-
# Or, to inspect the Rack::Request as well:
125-
config.omniauth :saml, slo_relay_state_validator: lambda { |relay_state, request|
126-
request.host == "example.com" && relay_state&.start_with?("/")
127-
}
128-
```
129-
130119
* `:idp_sso_service_url_runtime_params` - A dynamic mapping of request params that exist
131120
during the request phase of OmniAuth that should to be sent to the IdP after a specific
132121
mapping. So for example, a param `original_request_param` with value `original_param_value`,

0 commit comments

Comments
 (0)