Skip to content

Remove max url length from authenticate flow#2841

Open
jekloudaMSFT wants to merge 5 commits into
mainfrom
jeklouda/authUrlLimit
Open

Remove max url length from authenticate flow#2841
jekloudaMSFT wants to merge 5 commits into
mainfrom
jeklouda/authUrlLimit

Conversation

@jekloudaMSFT

@jekloudaMSFT jekloudaMSFT commented Jun 20, 2025

Copy link
Copy Markdown
Collaborator

For more information about how to contribute to this repo, visit this page.

Description

This PR removes the max length validation from the authentication.authenticate and externalAppAuthentication flows. This will resolve the issue reported in MicrosoftDocs/msteams-docs#13041. URLs that exceed the browser's URL size limit will be handled by the browser.

Main changes in the PR:

  1. Remove max URL length validation from the validateUrl util.

Validation

Validation performed:

  1. Unit tests added

Unit Tests added:

Unit tests are required for all changes. If no unit tests were added as part of this change, please explain why they aren't necessary.

Yes

End-to-end tests added:

N/A

Additional Requirements

Change file added:

Ensure the change file meets the formatting requirements.

Yes

@jekloudaMSFT jekloudaMSFT requested a review from a team as a code owner June 20, 2025 21:06
@github-actions

github-actions Bot commented Jun 20, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/teams-js/dist/esm/packages/teams-js/src/index.js 190.5 KB (-0.05% 🔽) 3.9 s (-0.05% 🔽) 2.2 s (+5.68% 🔺) 6 s

Comment thread packages/teams-js/src/internal/utils.ts Outdated

@ndangudubiyyam ndangudubiyyam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good :)

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