Commit c79026e

mo <mo@mokhan.ca>
2017-11-06 03:24:25
update user to return proper nameid.
1 parent 543533f
Changed files (1)
lib
saml
lib/saml/kit/response.rb
@@ -213,7 +213,7 @@ module Saml
             xml.Assertion(assertion_options) do
               xml.Issuer configuration.issuer
               xml.Subject do
-                xml.NameID user.name_id_for(request.name_id_format), Format: request.name_id_format
+                xml.NameID user.name_id_for(request), Format: request.name_id_format
                 xml.SubjectConfirmation Method: Namespaces::BEARER do
                   xml.SubjectConfirmationData "", subject_confirmation_data_options
                 end