Skip to content

Commit

Permalink
Add some temporary debug logging...
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Ertz committed May 3, 2012
1 parent 6f5d072 commit 1d71eb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/omniauth/strategies/saml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def callback_phase
response = OmniAuth::Strategies::SAML::AuthResponse.new(request.params['SAMLResponse'])
response.settings = options

p response.inspect

@name_id = response.name_id
@attributes = response.attributes

Expand Down
3 changes: 2 additions & 1 deletion lib/omniauth/strategies/saml/auth_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def initialize(response, options = {})
end

def valid?
validate(soft = true)
#validate(soft = true)
validate!
end

def validate!
Expand Down

0 comments on commit 1d71eb9

Please sign in to comment.