Single Sign On Flashcards
What are the 3 methods to get SSO on SF?
- Federated Authentication using SAML
- Delegated Authentication
- Login using credentials from another service - OpenID Connect
Describe the login flow when SF is the SP?
- SF sends SAML request to IDP
- IDP sends SAML assertions to SF using SAML web single sign on Browser POST
- SF receives the assertion, verifies against the org and if true allows SSO
What are the configuration steps to configure SF as SP?
- Create Federation ID for each user
- Setup SSO settings in SF (SAML Single Sign On settings - SAML Sign In URL and certificate from IDP needed)
- Get Information required from IDP
- Configure Pages on SF
- Setup SF settings in IDP (SAML ACS URL and entity ID needed on IDP)
- Test
What are the key fields required in SAML Single Sign On settings / required from IDP?
- Issuer
- Entity ID
- Request Signing Certificate
- SAML Identity Type
- SAML Identity Location
- SP Initiated Request Binding
What are the different SAML identity types that can be configured in SAML Single Sign On Settings?
- Salesforce Username
- Federation ID
- User ID
What are the SAML Identity Locations that are supported in SAML Single Sign On Settings?
- NameIdentifier of Subject statement
2. Attribute element
What further information do you need if the SAML Identity Location is Attribute?
- Attribute Name
- Attribute URI
- Name ID format
What are the 2 types of request binding supported for SP initiated requests?
- HTTP POST
2. HTTP Redirect
What are the SSO pages that can be configured?
- Start
- Login
- Logout
- Error
What is the sequence for SSO determining what pages to use?
- Session cookie
- Values passed from IDP
- Values specified on Single Sign On page
What are the page values passed from IDP?
- ssoStartPage - where does SSO flow start / login URL
- Use RelayState - control where users are redirected after login
- startURL - where users go after sso
What are 2 ways of performing JIT?
- Standard (provision automatically based on values in the assertion)
- Custom (based on logic in the handler class)
In what SAML tag are JIT fields passed?
SAML Attribute e.g.
testuser@123.org
What do fields need to be prefixed with for JIT?
User.
How can you define Profile for JIT?
Pass ProfileName in ProfileID field