Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Set PromptBehavior to Auto if extraQueryParameters contains 'prompt='#205

Open
martinlingstuyl wants to merge 1 commit intoAzureAD:masterfrom
martinlingstuyl:master
Open

Set PromptBehavior to Auto if extraQueryParameters contains 'prompt='#205
martinlingstuyl wants to merge 1 commit intoAzureAD:masterfrom
martinlingstuyl:master

Conversation

@martinlingstuyl
Copy link

This pull request fixes issue #167.

I've added a check on extraQueryParameters. If it contains prompt=, it will set PromptBehavior to Auto (instead of Always). This way, the ADAL plugin will not throw a 'duplicate prompt parameter' error message.

Henceforth we are now able to force the consent flow if we want.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant