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

Process the query part of the authority when present #2697

Closed
jmprieur opened this issue Mar 8, 2024 · 1 comment · Fixed by #2826 or #2848
Closed

Process the query part of the authority when present #2697

jmprieur opened this issue Mar 8, 2024 · 1 comment · Fixed by #2826 or #2848
Assignees
Labels
Milestone

Comments

@jmprieur
Copy link
Collaborator

jmprieur commented Mar 8, 2024

Microsoft.Identity.Web Library

Microsoft.Identity.Web

Microsoft.Identity.Web version

2.17.0

Web app

Sign-in users

Web API

Protected web APIs (validating tokens)

Token cache serialization

In-memory caches

Description

When the authority is provided with a query part, it would be great to keep it and propagate to the MetadataUrl and the MSAL authority

"Authority" : "https://customdomain.com/tenant/v2.0?dc=dcxyw

Reproduction steps

"Authority" : "https://customdomain.com/tenant/v2.0?dc=dcxyw

Error message

No response

Id Web logs

No response

Relevant code snippets

"Authority" : "https://customdomain.com/tenant/v2.0?dc=dcxyw

Regression

No response

Expected behavior

?dc=dcxyw is taken into account

@pmaytak
Copy link
Contributor

pmaytak commented May 14, 2024

@jmprieur In what scenarios are the query params expected for an authority? When passed to MSAL, would these params be added to the /authorize or /token endpoints?

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