Setting up SAML authentication will allow you to achieve single sign on (SSO) for your users across the web. Your identity provider (iDP) will provide the authentication services for Schoolbox. Once your users are authenticated against the identity provider, they may proceed to Schoolbox and any other service providers that are registered.
NOTE: As the setup of SAML and SSO requires configuration to a specific URL, settings cannot be copied between your production and staging instance. It also means that each instance will require individual configuration if you wish to setup or test this method of logging in. SAML settings are not replaced during a Production to Staging sync for this reason.
1. Navigate to Administration > System Settings > SAML.

2. Enter the 'Single Sign-On URL'.
This is where Schoolbox will send Single Sign-On (SSO) requests.
For example:
Azure: login.microsoftonline.com/{set of numbers and letters}/saml2
Google: accounts.google.com/o/saml2/idp?idpid={your IDP ID}
CloudWork: {yourschool}-login.cloudworkengine.net/saml2/idp/SSOService.php

3. Enter the details for one of the options below.
Option 1
'Single Sign-On Identity Provider Metadata URL'.
This URL is where the metadata for your Single Sign-On Identity provider is located.

Option 2
1. Enter the 'Single Sign-On IDP Certificate'.
This is only required if your metadata URL does not inherently provide the certificate information or you require a different certificate than what is provided in the metadata URL. In circumstances where both are populated, the manually entered certificate will override the content of the metadata URL.

2. Enter the 'IDP Entity ID'.
This is the unique identifier for the Identity Provider.

3. Enter the 'Schoolbox Entity ID'.
This is the unique identifier for Schoolbox to use as its Entity ID.

NOTE: If this is not set, the URL for your instance will be used.
4. In Title for Single Sign-On, enter the text you want to display to the users. By default, it displays the text Login with Single Sign-On.
5. In Icon for Single Sign-On, you can attach an icon to display at the left of the Single Sign-On title.
6. Next, select the color for the Single Sign-On login button.
7. When done, select Save.
Further Configurable Options
If applicable, toggle and enter the relevant selection for kerberos.
This is only needed if using kerberos authentication with SAML.

'Enable Single Logout'
If toggled to ON, the logout performed in Schoolbox will be sent to the IDP to log the user out of all other services registered with that IDP.

'Single Sign-On Logout URL'
This is the URL that users will be redirected to upon logging out.
For example: yourschool.schoolbox.com.au

'Single Logout URL Endpoint'.
If your idP metadata is not provided or does not contain an SLO endpoint, configure here where SLO requests should go.

NOTE: This is optional for all schools, but should be configured if your IDP metadata is not provided or it does not contain a SLO endpoint.
'Login with Single Sign-On only'
If toggled to ON, users who visit the login screen will be redirected to the IDP for Single Sign-On via SAML.

Administration > System Settings > Security and 'Allow users to login with email address'
If toggled to ON, users will be able to log in using either their username or email address.
