Docs

Identity providers

Agents and client contacts signing in with their Microsoft 365, Google Workspace or Nextcloud account, or with their mail password through an IMAP server - by the domain of their email address.

In ITFlowAdminIdentity Providers WhoAdmins

Besides their ITFlow password, agents and client contacts can sign in with an account they already have. Each identity provider is one more way in:

  • Microsoft 365 - work accounts, through an app you register in Microsoft Entra.
  • Google Workspace - Google accounts, through an OAuth client in Google Cloud.
  • Nextcloud - accounts on your Nextcloud, through its OIDC Identity Provider app.
  • IMAP - the password typed on the sign-in page is checked with your mail server, in place of the ITFlow password.

Microsoft 365, Google Workspace and Nextcloud each put a button on the sign-in page, such as Sign in with Microsoft. IMAP has no button: people type their email address and mail password as usual.

Identity providers
Identity providers: who each signs in, on which email domains, and when it was last used

Who a provider signs in

Each provider is for Agents, Client contacts or both, and lists the Email domains it signs in. Any account on those domains can use it.

  • Nobody new is added. The person has to be in ITFlow already - an agent, or a contact with portal access - with the email address the provider gives.
  • Microsoft 365 and Google Workspace can leave the domains empty, to sign in any of their accounts whose address is in ITFlow - Microsoft and Google vouch for the address. Nextcloud and IMAP need the domains listed.
  • Client contacts only sign in this way while the client portal is on.
  • A contact whose Login is set to Only with a provider - on their contact, or in Admin > Users > Client portal - has no password and signs in only with a button.

An address that's both an agent and a contact is asked which to sign in as, as with a password.

Two-step sign-in and credentials

Microsoft 365, Google Workspace and Nextcloud do their own sign-in checks, so ITFlow doesn't ask for its two-step code after them, and they meet the requirement wherever you require it. Set up two-step sign-in in the provider instead. IMAP is only a password, so the ITFlow code is still asked for.

Agents' saved usernames and passwords are opened with their ITFlow password, which a provider never sees. After signing in with a provider or a mail password, an agent's credentials are locked: they click the lock beside a username and type their ITFlow password once, and they stay unlocked until they sign out.

Required

Switch on Required on a Microsoft 365, Google Workspace or Nextcloud provider and the accounts on its email domains can't sign in with a password any more - the sign-in page tells them which button to use. It needs the domains listed.

  • Passkeys still work.
  • An agent with an administrator role keeps their password, to get back in when the provider is down or set up wrong.
  • Turn the provider off and passwords work again.

With IMAP, an administrator's ITFlow password works too, for when the mail server is down.

Add Microsoft 365

  1. In Admin > Identity Providers, click New Identity Provider and pick Microsoft 365. Copy the redirect address at the top of the window.
  2. In the Microsoft Entra admin centre, under App registrations, click New registration. Choose Accounts in any organizational directory - or in yours only - and add the redirect address under Redirect URI, as a Web platform.
  3. Copy the app's Application (client) ID from its Overview into Application (client) ID.
  4. Under Certificates & secrets, make a New client secret and copy its Value - not its ID - into Client secret. The User.Read permission the app starts with is all it needs.
  5. Choose who it signs in and, if you like, the email domains, then click Create.
A new Microsoft 365 identity provider
New Microsoft 365 Identity Provider: how to set it up, who it signs in, and the app's ID and secret

ITFlow goes by the account's sign-in name in Microsoft 365, which has to be their email address in ITFlow. Guests from other organisations and personal Microsoft accounts don't sign in. If the app is registered for your directory alone, put its Directory (tenant) ID in too.

A client secret runs out - put the new one in Client secret before it does. Left empty when you edit, the saved secret stays.

Note

If you used Single Sign-on on the client portal before, it's now a Microsoft 365 provider for client contacts, and keeps its old redirect address - nothing to change in Entra.

Add Google Workspace

  1. In Admin > Identity Providers, click New Identity Provider and pick Google Workspace. Copy the redirect address at the top of the window.
  2. In the Google Cloud console, under APIs & Services > Credentials, create an OAuth client ID for a Web application, with the redirect address under Authorized redirect URIs.
  3. Copy its Client ID and Client secret into the window.
  4. Make the app's OAuth consent screen Internal, to keep it to your own Google Workspace.
  5. Choose who it signs in and the email domains, then click Create.

With one domain listed, Google's account chooser offers only accounts on it. Google has to have verified the address.

Add Nextcloud

  1. Install the OIDC Identity Provider app (oidc) on your Nextcloud.
  2. In Admin > Identity Providers, click New Identity Provider and pick Nextcloud. Copy the redirect address at the top of the window.
  3. In Nextcloud's administration settings, under OpenID Connect, add a client with that redirect address, of the Confidential type. Copy its client identifier and secret into the window.
  4. Enter your Nextcloud's Address, such as https://cloud.example.com, and the email domains, then click Create. ITFlow checks it can read the app's settings there.
Watch out

ITFlow goes by the email address Nextcloud gives. Make sure your Nextcloud's users can't change their own, or one of them could sign in to ITFlow as another person on the same domain.

Add IMAP

  1. In Admin > Identity Providers, click New Identity Provider and pick IMAP.
  2. Enter the mail Server, such as mail.example.com, its Port and Security - SSL/TLS on port 993 or STARTTLS on 143. Its certificate has to be a valid one.
  3. Pick what it's signed in to with - The whole email address, or The part before the @.
  4. List the email domains whose mailboxes are all on this server, and click Create.

Nothing is set up on the mail server. A mail server that can't be reached is noted in Admin > Logs > App Logs, and nobody on its domains can sign in until it's back - except administrators, with their ITFlow password.

Turning one off

From a provider's menu, Turn Off takes its button off the sign-in page and stops it signing anyone in, without losing how it's set up - Turn On brings it back. Delete removes it. Accounts stay as they are: a contact set to sign in only with a provider needs another provider, or a password.

Last used shows when each provider last signed someone in. Every sign-in through a provider is in Admin > Logs > Sign-ins, with which one it was.

↑↓ to pickEnter to open