> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Migrating from MIMS

## Overview

This guide aims to provide you with the information you might need as you prepare to move from MIMS to Edupass. This includes changes to business functions, timeline and a summary of technical changes. In the preparation of this guide, the Edupass team endeavours to be as comprehensive as possible, but you may have further questions not answered. In such cases, please see if you can find an answer in our [FAQ](/faq.md); if not, please feel free to reach out to the Edupass team for clarifications.

## Business Functions

In terms of MIMS as a business function, there is no difference between MIMS and Edupass.

Edupass will continue to provide the business functionalities of:

1. User Authentication and Authorisation
2. Account and Access Management
3. Account and Access Review

It is **important to note** that the various business functionalities will be rolled out in stages.

### Staged Rollout

The timeline below shows the targeted release date periods.

:::info

Account and Access Management and Review functionalities are rolled into the **Authorisation** timeline for release.

:::

```mermaid
gantt
    title Authentication & Authorisation Roadmap
    dateFormat YYYY-MM-DD
    axisFormat %b %Y
    tickInterval 1month

    section Authentication
    AuthN module implemented                                  :authn1, 2025-10-01, 2025-12-01
    Testing for selected apps & users                         :authn2, 2025-10-01, 2026-01-01
    Actual rollout to MOE apps                                :authn3, 2026-04-01, 2026-10-01
    Complete rollout to all MOE apps and users                :authn4, 2026-10-01, 2027-01-01

    section Authorisation
    AuthZ module implemented                                  :authz1, 2026-03-01, 2026-05-01
    UAT Testing                                               :authz2, 2026-04-01, 2027-01-01
    Begin switch to Edupass for access and account management :authz3, 2026-10-01, 2027-01-01
```

### User-facing Changes

Edupass aims to provide a passwordless single sign-on (SSO) experience to users.

#### What this means

- **Seamless login with SSO**
  - Users will no longer be required to enter their user ID and password to login to the different MOE digital applications.
  - Staff Users using managed devices will experience seamless SSO based on their device credentials.
- **Longer login sessions**
  - Login sessions last longer so users will not be required to login multiple times in a day.
- **Single set of credentials**
  - Users will no longer need to manage multiple MIMS credentials.
  - For users who currently have multiple MIMS credentials:
    - Instead of having one MIMS `OTHERS` account for each additional location, such users will only have one Edupass account.
    - The Edupass account will come with the appropriate location-scoped application role.
    - [Case Study 1](#case-study-1-multi-location-user-with-different-access-roles-in-application-i) depicts an example of a user with multiple MIMS credentials for various work locations.

## Technical Changes

### Each person will have only one Edupass account

In MIMS, each UIN/FIN can have an unlimited number of MIMS accounts with userType `OTHERS`.

In Edupass, there will be a clear distinction between human and non-human accounts.

- Human accounts: Each person (backed by a unique UIN/FIN), will only have **one** Edupass account.
- Non-human accounts: Accounts that do not represent a person. These accounts will not have a UIN/FIN.

Multiple MIMS accounts owned by a single user for multi-location access would be mapped into a single Edupass account. See [Case Study 1](#case-study-1-multi-location-user-with-different-access-roles-in-application-i) for details.

### Changes to the user attributes that are sent by Edupass

#### Edupass User Schema

All accounts will have the same schema. Certain fields will be null depending on account type as indicated by the `Identity Type` attribute. See [Interface Specifications](/specs/index.md) for details.

Unlike MIMS, where additional data fields are given out via interface files, the user data fields available via all interfaces (i.e. OIDC/SAML claims and SCIM API push) will be the same.

**MIMS user fields that are no longer provided in Edupass**

- IAMS related fields: `IAMS Login ID`, `Last Changed IAMS Login ID`, `IAMS Login ID Last Changed Date`, `IAMS Login ID Last Changed Time`
- `MIMS Login ID`
- `User Type`: In MIMS, this encodes (1) account type and (2) whether the user is in HQ or school. In Edupass, this is split into `Identity Type` and `School or HQ`.
- `Location Code`, `Division Name`, `Branch Name`, `School Name`, `Organisation Unit`: Location-specific access control will be done via location-specific application roles, which will include a location component.
- `Application Access List`: RPs will only get their application roles. They cannot see if a user has access to another application.
- `Email Address List`: Split into separate fields in Edupass – Notification Email, WOG Email, CES Email, iCON Email.
- `Title`: Salutation is not provided in Edupass.
- `Mobile`
- Student `Level Code`, `Class Code`, `Class Name`

**Edupass user fields and how they are mapped from MIMS**

See [Interface Specifications](/specs/index.md) for the complete definition of each attribute.

| **Attribute name**                                                   | **Changes from MIMS**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Edupass Identifier                                                   | This will be a 12-digit string. 4 additional characters will be prepended to the MIMS ID e.g. `12345678` will become `000012345678`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Identity Type                                                        | In MIMS,<br>- `User Type`: `STAFF` only includes accounts created from HRPS. There is no clear definition for `User Type`: `PATRON`, which includes accounts for Staff not created from HRPS.<br>- Accounts with `User Type`: `OTHERS` can be any of the following:<br>    - Human accounts: Secondary account for multi-location staff, or accounts for non-staff or non-patron users<br>    - Non-human accounts: Generic or machine accounts<br>In Edupass,<br>- Students will have `Identity Type`: `Student`<br>- `Staff` includes MOE-hired staff, school direct hires, and staff seconded to MOE from other government agencies<br>- Multi-location staff will have only **one** account with `Identity Type`: `Staff`<br>- Non-staff and non-student human accounts are split into finer categories of `Temp`, `Intern`, `Vendor`, `Others`<br>- All Human accounts have uin/fin and name validated against official records<br>- Machine accounts will always have `Identity Type`: `Non-human` |
| Name                                                                 | `Full Name` in MIMS. For human accounts, this will be the validated full name as per ICA/MOM records.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| UIN/FIN<br>- _Only for systems classified Sensitive-Normal or above_ | Will be the full plaintext UIN/FIN value. No UIN/FIN hash will be given.<br>The UIN/FIN value will be unique across all Edupass accounts.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| School or HQ                                                         | This was part of `User Type` in MIMS. In MIMS, `HQ` or `SCHOOL` is determined based on the MIMS account location code, which could be changed independently of HR deployment records.<br>In Edupass, this value is determined based on the user’s reporting location according to HR deployment records. Students will always have the value `School`.<br>Use of this field for access control is discouraged as the user’s application access location could differ from their reporting location. Also, users could have access in both HQ and school locations. HQ-based or School-based access should be granted via roles, which can be assigned via birthright.                                                                                                                                                                                                                                                                                                                                    |
| Job Title                                                            | `Designation` in MIMS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Notification Email Address                                           | `Primary Email Address` in MIMS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| WOG Email Address                                                    | One of `Email Address List`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| CES Email Address                                                    | One of `Email Address List`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| iCON Email Address                                                   | One of `Email Address List`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Application Roles                                                    | Contains only roles specific to RP.<br>Will include location code for location specific roles. See [Changes to Application Roles](#application-roles-will-include-location) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

### Application roles will include location

[Application roles](/specs/index.md#application-roles) are encoded in the format: `<location code>_<app code>_<role code>`. RPs would need to indicate if their roles are global or location-specific.

`<location code>`: For location-specific roles, this will be the 4-digit code for the MOE branch or School that the role is applicable to. For global roles that are not scoped to a specific location, this will be the value `X`.

`<app code>`: The short alphabet code assigned to the RP during onboarding.

`<role code>`: The code for the application role as defined by the RP. This was `Role ID` in MIMS.

### The User Schema will not include location

RPs which use location for access control should manage access with the application roles.

For example a multi-location RP that has different data or features depending on the user’s location can encode this in a location-specific role with role code `access`. To have access to the data and features for school code 1001, users will be given the application role: `1001_app_access`.

### No more interface files

In Edupass, updates for user accounts will no longer be pushed to RPs via daily interface files.

Updates will be **pushed** to RPs in real time, via **SCIM API endpoints that RPs must implement**. See [SCIM](/specs/scim/index.md) for details.

RPs will only be informed of Edupass accounts that have been provisioned access to the RP.

## Actions required from RPs

1. [Do a one-time account mapping](#one-time-account-mapping)
2. Handle changes to user attributes
   1. Interpret new claims coming from the OIDC ID token / SAML assertions
3. Implement parser for new app role format
4. \[For multi-location RPs] [Implement location selector or other appropriate changes to accommodate multi-location users](#location-selector-for-multi-location-users)
5. \[For RPs that do their own account or profile management] Implement SCIM server endpoints to receive Edupass account updates

### One-time Account Mapping

To migrate from MIMS, RPs will be given a one-time MIMS to Edupass Identifier mapping. Multi-location users might have multiple MIMS Identifiers mapped onto a single Edupass Identifier.

RPs with multi-location users getting access through multiple MIMS accounts may have to merge the accounts into their respective primary accounts so that users do not lose access to data tied to their secondary MIMS accounts.

### Location Selector for Multi-location Users

Multi-location RPs are applications that contain location-specific data or permissions (e.g. School-specific data or configuration). Examples of such applications include School Cockpit, SLS and All Ears.

In Edupass, application roles in the claims received by the RP after OIDC or SAML authorisation will span multiple locations for multi-location users. For example, in [Case Study 1](#case-study-1-multi-location-user-with-different-access-roles-in-application-i), Application I will receive `[1001_appI_schooladmin, 1002_appI_schooluser]` in the `groups` OIDC or SAML user claim attribute. Therefore, multi-location applications will need to make changes to support multi-location users. This can be done by either (i) using a location-selector or (ii) making changes to existing workflows to accommodate multi-location users. It is up to the RP to decide which is the better approach for them.

Applications like School Cockpit, where user workflows and data are segregated by schools, may implement a location-selector for multi-location users to seamlessly switch between the locations they have access to.

![Location selector for multi-location users](/static/svg/migration-guide-location-selector.drawio.da65b3bdc8.svg)

## Case Studies

### Case Study 1: Multi-location user with different access roles in Application I

User’s reporting location is School A, but works in both School A (location code: 1001) and School B (location code: 1002). User’s access level to Application I is different in each school.

Application I has 2 location-specific roles: `schooladmin` and `schooluser`. User is `schooladmin` in School A, `schooluser` in School B

**MIMS**

User will have two MIMS accounts. RP (Application I) receives a different set of attributes depending on which account the user uses.

Main account with User Type: `SCHOOLSTAFF`

| **Attribute**   | **Value**     |
| --------------- | ------------- |
| MIMS Identifier | 12345678      |
| User Type       | `SCHOOLSTAFF` |
| Location Code   | 1001          |
| Roles           | `schooladmin` |

Secondary account with User Type: `OTHERS`

| **Attribute**   | **Value**    |
| --------------- | ------------ |
| MIMS Identifier | 22345678     |
| User Type       | `OTHERS`     |
| Location Code   | 1002         |
| Roles           | `schooluser` |

**Edupass**

User will only have one Edupass account. RP (Application I) will see the following attributes:

| **Attribute**      | **Value**                                       |
| ------------------ | ----------------------------------------------- |
| Edupass Identifier | 000012345678                                    |
| Identity Type      | `Staff`                                         |
| School or HQ       | `School`                                        |
| Application Roles  | `1001_appI_schooladmin`, `1002_appI_schooluser` |
