Communities Flashcards
How do you configure SAML for Communities?
Use site URL and org id for multiple SAML implementations.
e.g. Recipient=”https://acme.my.site.com/customers/login?so=00DD0000000JsCM”
What OAuth flows are supported for Communities?
All flows except Username-Password & SAML assertion
How is the token passed for OAuth flow in Communities?
As a bearer token in Authorization Header
e.g.
https://site.force.com/customers/services/data/v32.0/ -H
“Authorization: Bearer
00D50000000IehZ!AQcAQH0dMHZfz972Szmpkb58urFRkgeBGsxL_QJWwYMfAbUeeG7c1E6
LYUfiDUkWe6H34r1AAwOR8B8fLEz6n04NPGRrq0FM”
What is the authorize url for Communities in an OAuth flow?
https://acme.my.site.com/customers/services/oauth2/authorize?
What is the URL after the app is authorized in an OAUth flow?
https://acme.my.site.com/customers/services/oauth2/token
What are components of guest user access in Communities?
Guest users get a guest user record and profile
What is external org access set to for Guest Users?
Private
What are limitations of guest users?
- Can’t have more than Read Access
- Can’t be members of Public Groups or Queues
- Can’t get access to records via Manual or Apex Sharing
- Can’t have View All or Modify All access to objects
- Can’t be owner for new records (goes to default owner) or existing records
What kind of Community user can a Non-partner or Person Account create?
Only Customer Community users
What permission do Salesforce license holders need to create external users?
Manage External Users
What permission do Partner & Customer community users need to create external users?
Delegated External User Administration
What does Salesforce do when a user self registers on a community?
Creates a Contact & User record
What is the name of the controller for self registration?
CommunitiesSelfRegController
What are page options for self registration
- Default page
- Configurable self reg page - can use any identifier (e.g. phone number)
- Experience Builder page - can customise look & feel but requires username & password
- VF page - full control - can use CommunitiesSelfReg
What are the methods you need to use in Apex to create Community users?
- CreatePortalUser
- CreateExternalUser
- CreatePersonAccountPortalUser
What records can be created with JIT provisioning over SAML?
User, Contact & Account