Skip to content

feat(webex): add first-party authentication support for UMD bundle#5077

Open
ursnj wants to merge 5 commits into
webex:nextfrom
ursnj:codex/bundle-first-party-umd
Open

feat(webex): add first-party authentication support for UMD bundle#5077
ursnj wants to merge 5 commits into
webex:nextfrom
ursnj:codex/bundle-first-party-umd

Conversation

@ursnj

@ursnj ursnj commented Jul 3, 2026

Copy link
Copy Markdown

Summary

We use ESM based front end application with Webex CDN for Metrics and Device registration, Now we need to add authentication through Webex, But when we are trying to integrate same we are getting multiple issues with CJS and ESM support and @webex/plugin-authorization-browser-first-party plugin support with existing CDN.

We are not really sure about replacing exisitng auth with first party auth in main bundle and doing that may break existing users, So This PR adds a separate first-party Webex UMD/CDN bundle while preserving the existing webex.min.js bundle as is.

Changes

  • Adds first-party Webex entrypoints under packages/webex/src/.
  • Registers a UMD-only webex-first-party webpack entry.
  • Adds @webex/plugin-authorization-browser-first-party as a webex workspace dependency.
  • Includes generated umd/webex-first-party.min.js and source map for npm/CDN publishing.

Validation

  • yarn install --immutable
  • yarn workspace webex build:src
  • yarn workspace webex test:style
  • yarn run build:script
  • yarn workspace webex pack --dry-run

test:style passed with existing warnings and no errors. The package dry-run includes umd/webex-first-party.min.js and umd/webex-first-party.min.js.map.

@ursnj ursnj closed this Jul 3, 2026
@ursnj ursnj reopened this Jul 5, 2026
@ursnj ursnj changed the title feat(webex): add first-party UMD bundle feat(webex): add first-party authentication support for UMD bundle Jul 5, 2026
@ursnj ursnj marked this pull request as ready for review July 5, 2026 12:29
@ursnj ursnj requested a review from a team as a code owner July 5, 2026 12:29
@aws-amplify-us-east-2

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-5077.d3m3l2kee0btzx.amplifyapp.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants