SAML Integration with OneLogin
- Login as admin into Spotio and go to page:
Settings -> Integrations -> SINGLE SIGN-ON (SSO) - Login as admin into OneLogin and go to page
Administration -> Applications - Add new application (Add app):
- Choose application: SCIM Provisioner with SAML (SCIM v2 Core)
- Set display name: SPOTIO
- Upload SPOTIO logo
- Click Save
- Now you should see configuration for saved application
- Next step is SAML configuration:
- In Spotio go to SSO settings
- In OneLogin go to Configuration section of new application
- Set Audience with value: Spotio and copy it to OneLogin
- Copy ACS (CONSUMER) URL from Spotio to OneLogin
- In OneLogin go to SSO section
- Copy Issuer URL from OneLogin to Spotio ISSUER URL (METADATA XML)
- Copy X.509 Certificate from OneLogin to Spotio
- Go to details in OneLogin and copy certificate
- Save configuration in Spotio and OneLogin
- SAML Authentication is configured next step is SCIM configuration.
SCIM Integration with OneLogin
- Go to Spotio SSO Settings.
- Set SCIM enabled.
- Click Generate Token.
- Go to OneLogin Administration -> Application -> Edit Spotio application.
- Go to the Configuration section.
- Copy SCIM Bearer Token from Spotio to OneLogin.
- Copy SCIM Base URL from Spotio to OneLogin.
- Set SCIM JSON Template in OneLogin to define mapping between SCIM model and OneLogin fields. Below there is a Spotio minimal required template that you can extend or modify if you need:
{
"schemas": [
"urn:scim:schemas:core:2.0"
],
"userName": "{$parameters.scimusername}",
"name": {
"familyName": "{$user.lastname}",
"givenName": "{$user.firstname}",
"formatted": "{$user.display_name}"
},
"emails": [{
"value": "{$user.email}",
"type": "work",
"primary": true
}],
"title": "{$parameters.title}",
"phoneNumbers":[
{
"value":"{$user.phone}",
"type":"work"
}
]
}
- Go to the Provisioning section in OneLogin.
- Set Enable provisioning.
- In the entitlements section click Refresh to load Spotio groups.
- Go to the Parameters section in OneLogin.
- Edit field Groups and check Include in User Provisioning flag.
- In Spotio we have 3 types of roles (Sales, Manager, Admin). By default users will be provisioned with role Sales. If you want to provision the users also to other roles you have to first define groups in OneLogin that will be mapped to Spotio roles and then define the rules. Go to Rules section in OneLogin
- In this section we have to configure mapping for each Spotio role to group in OneLogin.
- Add rule Sales with Condition “Groups is” and choose the group that you want to map to the Sales role in Spotio. In Actions choose Set Groups in…, From Existing option and select Sales in Select Groups dropdown. Click Add and Save.
- Similarly add rules for Manager and Admin roles.
- Go to Access section in OneLogin and select the roles that will have access to the Spotio application
- Assign the users that you want to provision into the Spotio application to the role that you choose in the previous step. After that OneLogin will automatically provision users into Spotio and they will be visible in Users section with their current provisioning status
Comments
0 comments
Please sign in to leave a comment.