Sign-in and sign-in systems
What people sign in with, where you set it up, and how to renew the client secret in time.
In short
- People sign in with the account of their organisation, through a sign-in system.
- You set up sign-in systems in Admin › Settings › Sign-in › Connections. You do not need the server for this.
- A client secret expires. Enter its last day, and renew it before that day.
What people sign in with
People sign in with the account of their organisation. Bugsoft Portal calls the system that checks this account the sign-in system (in technical terms: the identity provider, or IdP). You can use:
- Microsoft Entra ID (Microsoft 365). See Sign in with Microsoft Entra ID.
- Any system that supports OpenID Connect: Google (Sign in with Google), Okta (Sign in with Okta), Keycloak (Sign in with Keycloak), or Auth0, ADFS, OneLogin and Authentik (Another sign-in system (OpenID Connect)).
- Any system that supports SAML 2.0, such as ADFS, Shibboleth, PingFederate or JumpCloud. See Sign in with SAML. The server then needs the PHP extension php-xml.
You can use more than one at the same time. For example: Microsoft for the office and another system for the shops. The sign-in page then shows one button Continue with … per system, in the order you choose.
Set up sign-in on the Connections page
You set up every sign-in system in Admin › Settings › Sign-in › Connections. You do not need access to
the server, and you do not need to edit .env.
How the page works:
- Confirm it is you. Before you change or test anything, you sign in again to confirm it is you. With the emergency account you enter the password and a code. After that you can make changes for a few minutes.
- Save and test. Bugsoft Portal first tests the new values. If the test fails, nothing is saved, and you see what went wrong.
- Set on the server. IT can set a value in the server environment, or in a file through
_FILE(as with Docker). That value always wins. You see it on the page, but you cannot change it there. - From the server file. If a value is in
.envand you enter another value on the page, the value on the page applies. Back to the value from the server file undoes this. - Secrets are stored encrypted and never shown again, not even in the audit log. The log only shows which fields changed. The other administrators get an e-mail about every change.
Add another sign-in system. Microsoft Entra ID is always there. For another system, use the card Add another sign-in system:
- Protocol: OpenID Connect or SAML 2.0. This is the choice that counts. Some systems, such as ADFS and Google, can do both: choose the one you set up in that system. SAML 2.0 is only there when the server has the PHP extension php-xml; otherwise the card says so.
- Which system? Only for OpenID Connect: for example Google, Okta or Keycloak, or Other. It fills in a few defaults and the tips. You can change everything later.
- The name on the button and, if you like, the short name in the address.
The new system stays off until you have set it up and tested it. The steps are on Another sign-in system (OpenID Connect) and Sign in with SAML.
If APP_KEY on the server is replaced, Bugsoft Portal can no longer read the secrets saved on
this page. Enter them again on Connections.
Renew the client secret in time
A client secret is a password that lets Bugsoft Portal talk to the sign-in system. It is only valid for a limited time (at Microsoft at most 24 months). When it expires, nobody can sign in with that system. Only the emergency account still works (The emergency account). With SAML the same applies to the certificate of the sign-in system; see Sign in with SAML.
- With every new secret, enter its last day. This is required, except with Google: a Google secret usually has no end date.
- All administrators get an e-mail 60, 30, 14, 7 and 1 days before (if e-mail is set up). For Microsoft they also see a message in Admin. For other systems the date is in the list on Connections. It turns orange 30 days before the end.
- Make a new secret in the sign-in system in time. Enter it on Connections with its new last day, and choose Save and test.
- Only then remove the old secret in the sign-in system.
Choose who can sign in
You can limit each sign-in system:
- Only these e-mail domains, for example
klaverveld.example. - Only these groups may sign in.
- The sign-in system must have confirmed the e-mail address, unless you say that the system checks addresses itself.
Someone who is not allowed sees a short explanation and does not get in. That person also does not count for the licence. The licence counts the accounts of all active sign-in systems that signed in during the last 180 days (The licence). The emergency account and demo accounts do not count.
Something does not work? See Sign-in problems.
Stuck? See Questions and problems or contact Bugsoft at ugurs156@gmail.com.