Skip to content

Sample Apex class implementing the Auth.SamlJitHandler interface for a SAML just-in-time (JIT) provisioning to occur based on data in the SAML assertion.

Notifications You must be signed in to change notification settings

salesforceidentity/salesforce-saml-jit-provisioning

 
 

Repository files navigation

Salesforce SAML JIT Provisioning

Please Note: Use at your own risk.

Sample Apex class implementing the Auth.SamlJitHandler interface for a SAML just-in-time (JIT) provisioning to occur based on data in the SAML assertion. The class will handle both creating and updating users based on the data in the assertion. The class also maintains the permisssion set group assignments for the user based on assertion data.

The PSG_DELETE_WHITE_LIST list in the class is used to ensure the class only deletes permission set group assignments we have whitelisted i.e. not permission set groups assigned manually in the org.

About

Sample Apex class implementing the Auth.SamlJitHandler interface for a SAML just-in-time (JIT) provisioning to occur based on data in the SAML assertion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Apex 96.5%
  • JavaScript 2.6%
  • Shell 0.9%