JetBrains / teamcity-azure-active-directory

TeamCity plugin which supports authentication via Microsoft Azure Active Directory
Apache License 2.0
26 stars 19 forks source link

Consent screen always appears #40

Open jachin84 opened 6 years ago

jachin84 commented 6 years ago

When logging in I am always asked to consent. Looking at the request I can see that &prompt=consent is being added. Consent is only required once. I'd just leave off the prompt=consent and let AzureAD decide if consent is required or not.

dtretyakov commented 6 years ago

@jachin84, you could select proper prompt value in the AD integration settings:

image

At the moment AD API allows to set prompt value in the as mentioned in the OpenID request parameters specification. When <Default> value is selected prompt parameter would not be passed in the request URL.

jachin84 commented 6 years ago

I cannot find the setting you are referring to, where is it?

dtretyakov commented 6 years ago

@jachin84, in this case please check the version of Azure AD plugin by navigating to the Administration -> Plugins List page. If it less than 0.5.0 download and update plugin to the latest version.

Then on the Administration -> Authentication page after clicking on "Microsoft Azure Active Directory" you will be able to change prompt type.

bbqrob commented 1 year ago

I have exactly the same behaviour, using:

Prompt type doesn't seem to change the behaviour (neither the used browser). When logging in I always end up in a consent page.