PoliteMail User Authentication with SAML2 and Okta
- Open Okta and click the Applications tab, then the Get Started tab, and the 'Create New App' button. The 'Create a New Application Integration' window will appear.
- Select 'Web' from the Platform drop-down menu. Click the SAML 2.0 radio button, then click 'Create'. You will be taken to the application wizard.
- The Application Wizard has three steps: General Settings, Configure SAML, and Feedback.
- For General Settings:
- The Application Name should be 'PoliteMail SAML' for easy reference.
- Check both App visibility options so they are both selected, then click 'Next'.
- For the Configure SAML step:
- Single Sign On URL: https://[YourPoliteMailHostname]/ssv3/Saml2/Acs.
- Use this for Recipient URL and Destination URL: Checked
- Audience URI (SP Entity ID): https://[YourPoliteMailHostname]
- Set Name ID format: EmailAddress
- Application username: Email
- Update application username on: Create and update
- Click 'Show Advanced Settings'.
- Response: Signed
- Assertion Signature: Signed
- Signature Algorithm: RSA-SHA256
- Digest Algorithm: SHA256
- Assertion Encryption: Unencrypted
- Enable Single Logout: Unchecked
- Assertion Inline Hook: None (disabled)
- Authentication context class: Password
- Honor Force Authentication: Yes
- SAML Issuer ID: http://okta.com/$(org.externalKey)
- Download the Okta Certificate and place it on the PoliteMail server.
- Attribute Statements:
- For General Settings:
Name | Name Format | Value |
---|---|---|
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress | URI Reference | user.email |
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname | URI Reference | user.firstName |
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname | URI Reference | user.lastName |
- Group Attribute Statements:
- You will need to create either 4 Directory Groups for PoliteMail: PoliteMailSystemAdministrator, PoliteMailAdministrators, PoliteMailManager, and PoliteMailUser. These names will be mapped on the PoliteMail server.
- You'll now get to the third step, Feedback. Fill out those fields as they apply to your organization, and click on 'Finish' when completed.
Name | Name Format | Filter |
---|---|---|
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role
|
URI Reference | Starts with PoliteMail |
After you click 'Finish', you will be redirected to the Settings page.
Click on 'View Setup Instructions'. This will take you to the Okta configuration page and will display the IDP SSO URL, IDP Issuer (Entity ID), and the X.509 Certificate. Send all three of these items to PoliteMail Support.