Omiauth saml - AuthenticityTokenProtection error

I was using OmniAuth-saml version 2.1.

I was getting OmniAuth::AuthenticityTokenProtection error, as described here.

Edited by Anusha Ranganathan