Skip to content

Commit

Permalink
Let's not break anything for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zogoo committed Oct 28, 2024
1 parent be8a562 commit 4a3fe48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/saml_idp/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ def acs_url

def validate_saml_request(raw_saml_request = params[:SAMLRequest])
decode_request(raw_saml_request, params[:Signature], params[:SigAlg], params[:RelayState])
valid_saml_request?
return true if valid_saml_request?

head :forbidden if defined?(::Rails)
false
end

def decode_request(raw_saml_request, signature, sig_algorithm, relay_state)
Expand Down

0 comments on commit 4a3fe48

Please sign in to comment.