[PR #10898] [MERGED] fix: update msal browser version #45663

Closed
opened 2026-04-29 20:07:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10898
Author: @hurxxxx
Created: 2/27/2025
Status: Merged
Merged: 3/5/2025
Merged by: @tjbck

Base: devHead: fix/update-msal-browser-version


📝 Commits (8)

  • cdc13e9 chore: Fix unnecessary whitespace issues
  • a381ffc revert
  • f865a23 Merge remote-tracking branch 'upstream/main'
  • febc9ab Merge remote-tracking branch 'upstream/main'
  • 203dfde Update deprecated msal-browser version to the latest
  • c5cfcc1 chore: cleanup
  • 77579f5 chore: cleanup
  • 2405809 Merge branch 'main' into fix/update-msal-browser-version

📊 Changes

3 files changed (+88 additions, -52 deletions)

View changed files

📝 package-lock.json (+22 -0)
📝 package.json (+1 -0)
📝 src/lib/utils/onedrive-file-picker.ts (+65 -52)

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

  • Microsoft Authentication Library for JavaScript (MSAL.js) has been deprecated and replaced with the latest version of @azure/msal-browser

Added

  • Add @azure/msal-browser dependency

Fixed

  • Updated the module loading method in onedrive-file-picker from CDN-based MSAL library to the latest NPM-based @azure/msal-browser.

Screenshots or Videos


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/10898 **Author:** [@hurxxxx](https://github.com/hurxxxx) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 3/5/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix/update-msal-browser-version` --- ### 📝 Commits (8) - [`cdc13e9`](https://github.com/open-webui/open-webui/commit/cdc13e9960842b93e16fb7fb3c1d4f1cf5681829) chore: Fix unnecessary whitespace issues - [`a381ffc`](https://github.com/open-webui/open-webui/commit/a381ffc58518cec12a13630c4c0f277122ceabb5) revert - [`f865a23`](https://github.com/open-webui/open-webui/commit/f865a23a185c0ef217f34ecce730c2167c256f8a) Merge remote-tracking branch 'upstream/main' - [`febc9ab`](https://github.com/open-webui/open-webui/commit/febc9ab88589b397f84e0c002506c75cd82318b8) Merge remote-tracking branch 'upstream/main' - [`203dfde`](https://github.com/open-webui/open-webui/commit/203dfdedf1e0e6b2fc9e176347a49003d3185b71) Update deprecated msal-browser version to the latest - [`c5cfcc1`](https://github.com/open-webui/open-webui/commit/c5cfcc1229ec39b232b77d0d08f3281bcdcc31d8) chore: cleanup - [`77579f5`](https://github.com/open-webui/open-webui/commit/77579f55098ff477ae8e40e04ffd04ec6db839ec) chore: cleanup - [`2405809`](https://github.com/open-webui/open-webui/commit/2405809f9207531d639fdca79ba072ecddf8719c) Merge branch 'main' into fix/update-msal-browser-version ### 📊 Changes **3 files changed** (+88 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+22 -0) 📝 `package.json` (+1 -0) 📝 `src/lib/utils/onedrive-file-picker.ts` (+65 -52) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [x] **Testing:** Have you written and run sufficient tests for validating the changes? - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description - Microsoft Authentication Library for JavaScript (MSAL.js) has been deprecated and replaced with the latest version of @azure/msal-browser ### Added - Add @azure/msal-browser dependency ### Fixed - Updated the module loading method in onedrive-file-picker from CDN-based MSAL library to the latest NPM-based @azure/msal-browser. ### Screenshots or Videos - Tested the login process and attachment process together in InPrivate mode of the browser https://github.com/user-attachments/assets/10bd8d04-bdd9-4b2c-ad8d-05529c53723d --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 20:07:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#45663