function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
eswarieswari 

Post SAML Assertion

Hi,

 

I am trying to post saml assertion to GoogleApps using HttpRequest from Apex class.

 

I am able to post the saml assertion and login successfully using a sample html page. But when I try to do the same from an Apex class I am getting the following error:

 

This account cannot be accessed because we could not parse the login request.

 

Can anyone Please help on this? Also Is there any way I can trace out what are the values that are being posted to googleapps account from apex class?