Skip to content

[dotnet] Remove Microsoft.IdentityModel.Tokens as dependency#12777

Merged
titusfortner merged 9 commits intoSeleniumHQ:trunkfrom
nvborisenko:dotnet-dep-identitymodel
Sep 25, 2023
Merged

[dotnet] Remove Microsoft.IdentityModel.Tokens as dependency#12777
titusfortner merged 9 commits intoSeleniumHQ:trunkfrom
nvborisenko:dotnet-dep-identitymodel

Conversation

@nvborisenko
Copy link
Copy Markdown
Member

@nvborisenko nvborisenko commented Sep 19, 2023

Description

We can remove Microsoft.IdentityModel.Tokens dependency.

What is done:

  • Adopted small piece code what we need
  • Remove everything related to Microsoft.IdentityModel.Tokens

Original source: https://raw.githubusercontent.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/6.19.0/src/Microsoft.IdentityModel.Tokens/Base64UrlEncoder.cs

Motivation and Context

Ideally any library should not have dependencies.
Related to #12692

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Copy Markdown
Member

@titusfortner titusfortner left a comment

Choose a reason for hiding this comment

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

This looks good to me, will be nice to remove the dependency.

@titusfortner titusfortner merged commit b884044 into SeleniumHQ:trunk Sep 25, 2023
@nvborisenko nvborisenko deleted the dotnet-dep-identitymodel branch November 10, 2023 10:35
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