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

Invalid redirect when TeamCity is hosted on subpath #37

Closed lpatalas closed 6 years ago

lpatalas commented 6 years ago

Hello.

I host TeamCity instance on subpath like https://mydomain.com/teamcity/, so login should redirect to https://mydomain.com/teamcity/overview.html but this plugin always redirects to https://mydomain.com/overview.html. I guess this may be caused by following line: https://github.com/JetBrains/teamcity-azure-active-directory/blob/8fa7dc9e4ff75bf8cd2c2ee6406b78dea707e729/azure-active-directory-server/src/main/kotlin/org/jetbrains/teamcity/aad/LoginViaAADController.kt#L45

Is this in fact a bug or just a matter of configuration?

Best regards, Łukasz

dtretyakov commented 6 years ago

@lpatalas, it was fixed, could you please download the latest plugin version.