Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] TokenUri not changed through extensibility point OnBeforeTokenExchange #4701

Closed
bgavrilMS opened this issue Apr 8, 2024 · 1 comment · Fixed by #4702
Closed

[Bug] TokenUri not changed through extensibility point OnBeforeTokenExchange #4701

bgavrilMS opened this issue Apr 8, 2024 · 1 comment · Fixed by #4702

Comments

@bgavrilMS
Copy link
Member

Library version used

4.60.1

.NET version

all

Scenario

ConfidentialClient - service to service (AcquireTokenForClient)

Is this a new or an existing app?

This is a new app or experiment

Issue description and reproduction steps

 .OnBeforeTokenRequest(
     (data) =>
     {
         // change the token URI
         data.RequestUri = new Uri("https://mtlsauth.login.microsoftonline.com/tid/oauth2/v2.0/token");

Actual: request URI is not changed

Relevant code snippets

No response

Expected behavior

No response

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

@bgavrilMS bgavrilMS added untriaged Do not delete. Needed for Automation needs attention Delete label after triage bug P3 confidential-client and removed untriaged Do not delete. Needed for Automation needs attention Delete label after triage labels Apr 8, 2024
@pmaytak pmaytak added this to the 4.60.2 milestone Apr 9, 2024
@Talhasaleem110
Copy link

Library version used

4.60.1

.NET version

all

Scenario

ConfidentialClient - service to service (AcquireTokenForClient)

Is this a new or an existing app?

This is a new app or experiment

Issue description and reproduction steps

 .OnBeforeTokenRequest(
     (data) =>
     {
         // change the token URI
         data.RequestUri = new Uri("https://mtlsauth.login.microsoftonline.com/tid/oauth2/v2.0/token");

Actual: request URI is not changed

Relevant code snippets

No response

Expected behavior

No response

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants