[FEATURE REQ] Add support for setting the OAuth 2.0 prompt=
value
#38099
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Library name
Azure.Identity
Please describe the feature.
Add support for setting the OAuth 2.0
prompt
query parameter value when requesting an authorization code - https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code.Microsoft Graph PowerShell relies on Azure.Identity to use MSAL. We currently have a requirement to support auth with AD FS, which requires having
prompt=login
to bypass single sign-on as explained at https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/operations/ad-fs-prompt-login.It does appear that there isn't an option available to specify the prompt value as the token credential classes default to
prompt=select_account
orprompt=none
based on the login hint:azure-sdk-for-net/sdk/identity/Azure.Identity/src/Credentials/InteractiveBrowserCredential.cs
Lines 235 to 241 in 36f54e7
The text was updated successfully, but these errors were encountered: