You need to sign in to do that
Don't have an account?

getting some SSO settings from APEX
Is there anyway to obtain the values (using Apex) of the next fields filled up in the SSO page settings:
Entity ID
Portal Community Login URL
Salesforce Login URL
Thanks
Entity ID
Portal Community Login URL
Salesforce Login URL
Thanks
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_samlssoconfig.htm
It looks like Audience maps to Entity ID. Not sure if can get the other two fields though:
SamlSsoConfig sso = [SELECT Audience from SamlSsoConfig LIMIT 1];
System.Debug(sso);
All Answers
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_samlssoconfig.htm
It looks like Audience maps to Entity ID. Not sure if can get the other two fields though:
SamlSsoConfig sso = [SELECT Audience from SamlSsoConfig LIMIT 1];
System.Debug(sso);
We refreshed DEV from PROD and this query returns the same answer for both environments.