Salesforce SAML Single Sign-On (SSO) login for TYPO3 can be achieved by using our Typo3 SAML SP Single Sign-On (SSO) extension.
Typo3 will be configurd as a SAML 2.0 compliant Service Provider as a result of our SSO solution, which will build trust between the Typo3 site and Salesforce SAML in order to securely authenticate and login users to the Typo3 site. Our Typo3 Single Sign-On (SSO) solution helps to
secure Typo3 sites behind the SSO login so that users are authenticated using their Salesforce login credentials. Seamless support for advanced SSO features like Attribute / Custom Mapping, Role Mapping etc.
Here we will go through a guide to configure SAML Single Sign-On SSO login between Typo3 site and Salesforce SAML by considering Salesforce SAML as IdP (Identity Provider) and Typo3 as SP (Service Provider). Our Typo3 SAML extension SSO
provides Unlimited user authentications from Salesforce SAML. To know more about other features we provide in you Typo3 SAML Single Sign-On (SSO) extension, you can click here.
Pre-requisites : Download And Installation
Installing SAML extension in TYPO3
- Use the below command to install the extension using composer:
composer req miniorange/miniorange-saml
- Now search for the "miniOrange SAML" in Installed extensions section and activate the extension by clicking on activate button.
- After installation, click on the newly installed extension "miniOrange SAML SP extension" for TYPO3 SSO and login with your registered miniOrange credentials.
- After entering username and password you will require license key to proceed further if you are a premium customer. (You will get this key from the miniOrange team. After entering license key, you can activate the license and proceed further.)
- If you are not a premium customer you can direcly login submitting miniOrange credentials.
- After successful login, you can see the details related to your account.
- Now you are ready to configure your IdP. But, it's important to integrate frontend first.
- Download the zip file of the SAML SP extension from TYPO3 marketplace
- Go to your TYPO3 backend, and click on Extensions section at the left side of your screen.
- Upload the zip file,as represented in the below image.
- Now search for the "miniOrange SAML" in Installed extensions section and activate the extension by clicking on activate button.
- After installation, click on the newly installed extension "miniOrange SAML SP extension" for TYPO3 SSO and login with your registered miniOrange credentials.
- After entering username and password you will require license key to proceed further if you are a premium customer. (You will get this key from the miniOrange team. After entering license key, you can activate the license and proceed further.)
- If you are not a premium customer you can direcly login submitting miniOrange credentials.
- After successful login, you can see the details related to your account.
- Now you are ready to configure your IdP. But, it's important to integrate frontend first.
Integrate extension with TYPO3
- Click on the Pages from the left navigation.
- Then you need to create a folder to store the frontend users in it by right clicking on the Home page and select New subpage.
- Select Folder type from the dropdown. Name the folder as Website Users.
- Go to the Behaviour tab and add Website Users (fe_users) and click on Save.
- If you see a hyphen sign in red on the created folder, it means that the folder is not enabled. You can then enable it by right clicking on that folder and clicking Enable.
- You need to add two STANDARD pages within the HOME page. If you are using Premium Plugin you can create three pages.
- Here we will consider Page Names as: FESAML, RESPONSE, LOGOUT (Logout is optional for premium customers).
- To create a FESAML page, right click on Home page then select New subpage and select STANDARD type from dropdown.
- Add Page Title as FESAML and click Save.
- Then again Click on FESAML Page and click on Add content. Go to plugins and add FESAML Plugin and click on the Save.
- Navigate to plugin tab and select FESAML plugin. Add website users in Record Storage Page and save the settings.
- You can enable the FESAML page by right clicking and selecting Enable option.
- If you need to make changes in URL segment, which will also be your initial SSO URL, right click on FESAML page, select edit and click on "toggle URL" button to set URL according to your way.
- Follow the same steps to create and configure Standard pages of Response.
- Ensure you will be selecting Response Plugin for Response page.
- Keep the FESAML and RESPONSE page urls handy as you will need them while configuring the SAML SP.
Steps to configure Salesforce SAML SAML Single Sign-On (SSO) Login into Typo3
1. Setup Salesforce SAML as IdP (Identity Provider)
Follow the steps below to configure Salesforce SAML as IdP for Typo3
Configure Salesforce SAML as IdP
2. Configure Typo3 as SP (Service Provider)
- In Typo3 SSO extension, go to the SP settings tab and enter Fesaml Plugin Page URL, Response Page URL, ACS URL, Entity ID and all other required details.
3. Attribute / Custom Mapping (Optional). *This is Premium feature.
- Attributes are user details that are stored in your Identity Provider.
- Attribute Mapping helps you to get user attributes from your Identity Provider (IdP) and map them to Typo3 user attributes like firstname, lastname and so on.
- While auto registering the users in your Typo3 site these attributes will automatically get mapped to your Typo3 user details.
- Only NameID can be mapped to Typo3 Email and Username characteristics with the free extension. Multiple user attributes from the IdP, on the other hand, can be mapped to Typo3 attributes in the premium version of the extension. You can map custom attributes that you've added to your IdP in addition to the default attributes.
- When a user performs SSO, the NameID value sent by the IdP will get mapped to the email and the username of the Typo3 user.
- You can check the Test Configuration Results under Service Provider Setup tab to get a better idea of which values to map here.
4. Group Mapping (Optional). *This is Premium feature.
- You can specify a default Group in the free extension that will be allocated to all non-admin users when they conduct SSO.
- Go to Group mapping tab and navigate to Group Mapping section.
- Select the Default Group and click on the Save button.
In this Guide, you have successfully configured Salesforce SAML SAML Single Sign-On (Salesforce SAML SSO Login) choosing Salesforce SAML as IdP and Typo3 as SP using Typo3 SAML Single Sign-On (SSO) extension .This solution ensures that you
are ready to roll out secure access to your Typo3 site using Salesforce SAML login credentials within minutes.
Additional Resources
If you are looking for anything which you cannot find, please drop us an email on info@xecurify.com