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

# Multi-Location Design

## Goal

- Enable a consistent and predictable login experience for users with multiple locations and roles across MOE apps.

:::info Want to know more about Contextual reasons on why Edupass team cannot build the work profile picker for you?

[Jump to the FAQ section](#faqs) to understand more context.

:::

## Type of Relying Parties (RPs)

In relation to multi-location use cases, RPs can view the various user needs, impact and recommendation in the following table:

| **Type of RPs**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | **Impact (from Apr 2026)**                                                                                                                                                                                                                                                                                                                                                                                                                                                            | **Recommendation**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1. Users currently require multiple accounts in MIMS for two main reasons:<br><br>**a. Multi-location use cases**<br>For example:<br>- Users apply for OTH accounts to access same application but view different data or features across different schools.<br><br>**b. Non-multi-location use cases**<br>For example:<br>- HQ users need to log in as school users for troubleshooting purposes.<br>- School users use personal account for normal usage but need an OTH account to log in as an admin separately. | Users with multi-accounts previously can only use one account to login once the RPs are integrated with Edupass. Hence, RPs might have to support **in-app location-switching or in-app role-switching or both**.<br><br>After RPs are integrated with Edupass, users who previously relied on multiple accounts can log in with only a single account. To support their existing workflows, RPs may therefore **need to enable in-app location switching, role switching, or both**. | Two recommendations:<br><br>**a. Merging users' multi-location profiles into a single profile.**<br>For applications where it is viable, merging users’ multi-location profiles into a single profile with multi-location access provides the most seamless user experience. This approach should be assessed across three dimensions: **technical feasibility** (can it be implemented), **desirability** (does it meet user needs), and **usability** (is the experience intuitive and acceptable).<br><br>Some factors that you need to consider are:<br>(1) If the users' **data sensitivity** needs to be different across profiles/locations<br>(2) If the users' **features** need to be different across profiles/locations<br><br>If any of the above applies, you should **NOT** merge the data, you should instead go for b.<br><br>**b. Implement a Work Profile Picker.**<br>For applications that are not feasible to merge the multi-location profiles of the users into one single profile, RPs are strongly encouraged to adopt the shared design guidelines for the **Work Profile Picker (location and role selection)**. This allows app teams to implement a consistent and predictable user experience across MOE apps, even where design systems differ.<br><br>For consistency, even if an RP only requires in-app location switching OR role switching, teams are encouraged to follow the recommended design, displaying both location and role information, even when one is a single value. |
| 2. Common accounts that are accessible by multiple identities.                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Edupass is not supporting shared/generic accounts as doing so eliminates accountability.                                                                                                                                                                                                                                                                                                                                                                                              | Consult Edupass team ([MOE_DXD_Edupass@moe.gov.sg](mailto:MOE_DXD_Edupass@moe.gov.sg)) for assistance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| 3. Does not require multiple accounts.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | No impact                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | N/A                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

:::note

Apps with their own multi-location handling (i.e. without relying on Edupass) **DO NOT** need to implement the work profile picker, but **MUST SHARE** their design concepts with the Edupass team via [MOE_DXD_Edupass@moe.gov.sg](mailto:MOE_DXD_Edupass@moe.gov.sg).

:::

:::tip

Note: RPs that already manage role access without multiple accounts or multi-location use cases remain unaffected.

:::

## Design Scope and Principles

**Scope**

- Recommendations in this document apply at the UX pattern level. Please adopt within your own design language and system.
- Targeted for Type 1 RPs as described above.

**Implications**

- Users select their work profile (location + role) upfront.
- The pattern is consistent across MOE apps, regardless of underlying design systems.
- The experience prioritises clarity over convenience to reduce errors and misinterpretation.

## Design Pattern Variation for Type 1 RPs

Within the current multi-account / multi-location design in MIMS, five user scenarios exist:

1. **Multiple locations, single role**
   1. E.g. Counsellor for School A and B.
2. **Multiple locations, multiple roles**
   1. E.g. Admin and Normal User for School A, Normal User for School B.
3. **Single location, single role**
   1. E.g. Normal User with access to multiple schools but currently assigned to one school.
4. **Single location, multiple roles**
   1. E.g. User currently assigned to one school but requiring both Normal User and Admin access.
5. **Global roles not scoped to a specific location**
   1. E.g. User has full access to all schools and all HQ divisions.

### To ensure consistent user experience, all variations follow the same design pattern:

1. Make the user’s location and role selection explicit before app interaction.
2. Allow users to switch location and role in-app after login.
3. Remember the location and role in the front end (e.g., cookies) for seamless re-login

:::info Want to know more about Cross-App Location Switching & Multi-Location Access?

[Jump to the FAQ section](#faqs) to understand how location-role switching works across apps under Edupass, including cross-app behaviour, SSO implications, and when multi-location data access is appropriate. These details are important to understand the design constraints and recommended baseline capabilities.

:::

## Illustration of Design Pattern Variation for Type 1 RPs

### 1. Make the user’s location and role selection explicit before app interaction

#### Scenario

- When user login to the app and with no prior location and role information, this includes
  - users who are using your app first time
  - users who are using incognito to login

**1.1 Multiple locations, single role**

E.g. ECG counsellor for School A and B.

_Treatment_

![](/static/image/consistent-design-picker-multi-location-single-role-select-location.27f66673fc.png)

![](/static/image/consistent-design-picker-multi-location-single-role-select-role.9cfb2a645e.png)

**1.2 Multiple locations, multiple roles**

E.g. Admin and Normal User for School A, Normal User for School B.

_Treatment_

![](/static/image/consistent-design-picker-multi-location-multi-role-select-location.2023c440c4.png)

![](/static/image/consistent-design-picker-multi-role-select-role.d116f4d3ab.png)

**1.3 Single location, single role**

E.g. Normal User with access to multiple schools but currently assigned to one school.

_Treatment_

Users are not prompted to choose a location since there is only one location.

**1.4 Single location, multiple roles**

E.g. Users currently assigned to one school but requiring both Normal User and Admin access.

_Treatment_

Since there is only one location, users are only prompted to select the role.

![](/static/image/consistent-design-picker-multi-role-select-role.d116f4d3ab.png)

**1.5 Global roles not scoped to a specific location**

E.g. Users have full access to all schools and all HQ divisions OR there is no differentiation of location-specific and role-specific access.

_Treatment_

- Skip the work profile picker.
  - On login, take the user straight into the product.
  - No modal, no decision point for users.

### 2. Allow users to switch location and role in-app after login

#### Design pattern consideration

Show a truncated view of long location-role information, with an option to expand and view full details when needed.

**Recommended sub-patterns (based on RP navigation model):**

1. **Landing page only**<br>
   For RPs where the landing page is the sole consistent entry point to the app menu.<br>
   → Display the location-role summary and expansion option on the landing page only.
2. **Every page**<br>
   For RPs with a persistent, clickable menu (e.g. user profile icon or displayed name) available across all pages.<br>
   → Surface the location-role summary at the same navigation bar, make it accessible from any page.

#### Scenario

- Users need to switch over to work on data or features that relate to another location.
  - Applicable to
    - **Multiple locations, single role.** E.g. ECG counsellor for School A and B.
    - **Multiple locations, multiple roles.** E.g. Admin and Normal User for School A, Normal User for School B.
    - **Single location, single role.** E.g. Normal User with access to multiple schools but currently assigned to one school.
    - **Single location, multiple roles.** E.g. User currently assigned to one school but requiring both Normal User and Admin access.
  - Not applicable to
    - **Global roles not scoped to a specific location.** E.g. User has full access to all schools and all HQ divisions.

#### Design recommendation

**2.1 Multiple locations, single role.**

- E.g. ECG counsellor for School A and B.

![](/static/image/consistent-design-switcher-multi-location-single-role.e68b3d2b9f.png)

**2.2 Multiple locations, multiple roles.**

- E.g. Admin and Normal User for School A, Normal User for School B.

![](/static/image/consistent-design-switcher-multi-location-multi-role.dcceb67107.png)

**2.3 Single location, single role.**

- E.g. Normal User with access to multiple schools but currently assigned to one school.
- For users currently assigned to a single school, but with a foreseeable need for multi-location access, the app should still display the work profile selector. This preserves consistency with apps that support location-role switching, even when only one option is available.

![](/static/image/consistent-design-switcher-single-location-single-role.b564783e1a.png)

**2.4 Single location, multiple roles.**

- E.g. User currently assigned to one school but requiring both Normal User and Admin access.

![](/static/image/consistent-design-switcher-single-location-multi-role.c4e8f3bbe9.png)

**Handling access-denied upon switching**

If a user switches to a location-role that cannot access the current page, redirect them to the main page. e.g., If a page is restricted (e.g., Admin only) and the user switches to a profile without access (e.g., Normal User), the app may redirect them to the main page.

**Handling access-granted upon switching -** If a user switches to a location-role that is able to access the current page, refresh the page. e.g., For pages accessible to all ECG counsellors, switching schools can refresh the page with location-specific data.

The treatment will be the same for both scenarios, show users which location and role they are switching to while the app is reloading the right page.

![Switching to a location-role with no permission to the page](/static/image/consistent-design-switcher-loading.0ec7c77a45.png)

### 3. Remember the location and role in the front end (e.g., cookies) for seamless re-login

**Recommendation:** To improve user experience, store the user’s selected and “last-used” work profile on the **client side**.

- Most apps follow this approach.
- Allows simultaneous logins with different profiles (e.g., one browser for Profile A, another/incognito for Profile B).
- Server-side storage is discouraged, as it limits this flexibility.

:::note

**Assumptions:** Most users access only one location and role at a time. Our recommendations are based on this.

RPs requiring concurrent access to multiple locations and roles may need a different approach. Discuss with Edupass team ([MOE_DXD_Edupass@moe.gov.sg](mailto:MOE_DXD_Edupass@moe.gov.sg)) to explore options for improving user experience and consistency.

:::

## FAQs

### Why is Edupass NOT building the location/profile picker

- From a user experience standpoint, users will not want to change their location/profile before log-in, or go to a specific website just to change their location/profile. Therefore it has to be at the RP/apps website to make the most sense
- Not all RPs/apps require the profile/location picker, therefore we cannot enforce all RPs to have it.

### How would location-switching work when users move from one app to another app?

- Edupass provides SSO, so users don’t need to relogin when moving between apps.
  - Users with multiple location-specific rights will rely on their **first login prompt**; each app manages the user’s **last-used location** independently.
  - If users need to maintain the same location across apps (e.g., Teacher Workspace → other native apps), it is technically feasible but requires an intentional handshake between the apps.

### Can an app allow users to view data across multiple selected locations?

- An RP can allow users to access data from multiple locations simultaneously if needed, though complexity increases when multiple roles are tied to specific locations, which may confuse users.

  Apps that require multi-location views can build this capability. Edupass provides location, app, and app-role information to support a range of location-switching experiences.

  **Recommendation:** All apps with location-role switching should support a baseline capability—allow users to switch to any entitled location and role **one at a time** to cover common use cases.

### Why are we not providing detailed design recommendations for every role and scenario?

- Beyond a certain level of complexity, the requirements vary significantly across RPs. Some teams (e.g., SC and Teacher Workspace) have unique workflows, permissions, and organisational rules. A one-size-fits-all design would either constrain them or create unnecessary complexity for apps with simpler needs. Our goal is to provide **a consistent foundation**, not dictate every downstream behaviour.

### What is included in scope?

We provide guidance for:

- The **common design pattern** for switching work profiles (location + role) for all MOE apps
- Recommended UI behaviours (e.g., confirmation before redirect)
- Suggested naming, messaging, and interaction flows
- Principles for predictable and safe context switching

This ensures a consistent user experience across apps in MOE ecosystem.

### What is not in scope of this recommendation?

We do **not** prescribe:

- Fine-grained workflows tied to each role
- Role management logic inside individual apps
- App-specific permission models
- Detailed screens or step-by-step flows for niche RPs

These belong within each RP’s domain expertise and operational needs.

### Why should RPs design their own deeper role workflows?

Because:

- They understand their operational requirements best
- Role differences can be significant (Viewer vs. Admin vs. SC-level special roles)
- They often have unique edge cases and compliance constraints
- They need the flexibility to adapt the design to their product’s complexity

### Can RPs still ask for recommendations?

Yes. While we do not own role-specific workflows. Our role is to support:

- Alignment with overall identity principles
- UX consistency across the MOE app ecosystem
- High-level design patterns that scale
