Skip to content

Security

In this section you will learn about security in Scifeon.

In Scifeon you can sign in using different methods. The default method is to use your Scifeon username and password. However, you can also sign in using your organization’s Microsoft account.

As an administrator you control which sign-in methods are available. Go to Administration > Settings > Security > Authentication and choose the methods under Sign-in method(s):

  • Username/password - choose who can sign in with a Scifeon username and password:

    Administrators only and Off can only be chosen while Office 365 is enabled.

  • Office 365 - users sign in with their organization’s Microsoft account.

    • Automatic sign in - users are sent to the Microsoft sign-in without clicking Sign in with your Office365 account.
    • Force Re-Authentication - users must enter their Microsoft credentials again after signing out of Scifeon.

At least one method must be enabled.

When your organization signs in with Office 365, you can enforce it for everyone except administrators. Administrators keep a username/password sign-in, so you can still get into Scifeon if Microsoft Entra ID is unavailable or misconfigured. This is often called a break-glass account.

With Administrators only (emergency access) enabled:

  • The sign-in page shows only Sign in with your Office365 account.
  • Password sign-in is refused for every user who is not an administrator. They see the same message as for a wrong password, and their account is not locked.
  • Administrators sign in with a password at https://{your-organization}.scifeon.cloud/#/login?admin=1. Automatic sign in does not redirect this address.
  • Signing in to the HTTP API with a username and password is turned off. Personal access tokens (PATs) still work.
  • Guest users are not administrators, so they lose password sign-in too. Invite them to your Entra tenant first, or keep password sign-in for Everyone.
  • Integrations that call the HTTP API with a username and password must move to personal access tokens.
  • Users who are already signed in with a password stay signed in until their session ends or they sign out.
  1. Create a dedicated local administrator for emergency access, for example emergency-admin. Keep it outside the group your SCIM provisioning manages, so changes in Entra ID do not deactivate it.
  2. Give it a password: in Administration > Users, open the user and use Set password, or Reset password to email a link. Store the password in your password vault.
  3. In Administration > Settings > Security > Authentication, check Office 365, then choose Administrators only (emergency access) under Username/password.
  4. Sign out, open https://{your-organization}.scifeon.cloud/#/login?admin=1 and sign in as the emergency access administrator to confirm it works.
  5. Add the address and the account to your disaster recovery procedure.

The address is not a secret. Scifeon refuses password sign-in for anyone who is not an administrator, whichever address they use. Failed attempts are recorded in the audit log as LogonFailed, with the reason “password sign-in is for administrators only”. Review the audit log for the emergency access account: a password sign-in outside an Entra ID outage is unexpected.

Office 365 cannot be turned off while Username/password is set to Administrators only (emergency access) or Off, since regular users would then have no way to sign in. Set Username/password to Everyone first.

As an administrator you must ensure smooth sign-in using Microsoft account. Do this by allowing the Azure Scifeon enterprise application to have access. As an Azure Portal administrator, you can do this by following these steps:

  1. Go to the Azure Portal and sign in using your organization’s Microsoft account.
  2. Click Microsoft Entra ID in the left menu.
  3. Select Enterprise Applications in the left menu.
  4. Find the Scifeon application (at least one user must have tried to sign in using Microsoft account for it to appear here) and open it.
  5. Choose Permissions on the left.
  6. Click the Grant admin consent button to allow users to automatically sign-in with Microsoft without having to explicitly give permission for each user.

Grant the consent on the Scifeon enterprise application. An app registration of your own, with other permissions, does not let users sign in to Scifeon.

Signing in with a Microsoft account does not create users in Scifeon. A user can sign in only when all of the following are true:

  • The user exists in Scifeon. Create it under Administration > Users, or let SCIM provisioning create it.
  • The user is active.
  • The user’s Email or Alias in Scifeon is the same as their Microsoft sign-in name (their user principal name, for example jane.doe@example.com). If the sign-in name differs from the email address, enter the sign-in name as the user’s Alias.

Otherwise Scifeon refuses the sign-in. The audit log records each failed attempt as LogonFailed, with the reason, for example “unknown user” or “Azure AD sign-in rejected”.

If your Entra ID requires users to be assigned to the Scifeon enterprise application (Properties > Assignment required), assign the users or groups who should use Scifeon under Users and groups. Otherwise Microsoft refuses the sign-in before it reaches Scifeon.

Note: The Scifeon application requires the User.Read permission: Allows users to sign-in to the app, and allows the app to read the profile of signed-in users. It also allows the app to read basic company information of signed-in users., refer to the Microsoft Graph permissions reference for more information.