morincer / teamcity-plugin-saml

The plug-in adds ability to authenticate users by SAML-based SSO providers (like Okta, Onelogin etc.)
MIT License
24 stars 16 forks source link

AWS SSO not logging in directly #61

Closed Gman54 closed 3 years ago

Gman54 commented 3 years ago

We are using TeamCity Enterprise 2020.1 (build 78475) when clicking on the AWS SSO file for TeamCity we go directly to the TeamCity login page, it does not sign us in directly . The SSO login button will work and allows us to login.

What we really need it to log us in directly.

morincer commented 3 years ago

Hi @Gman54

https://github.com/morincer/teamcity-plugin-saml#troubleshooting

Any additional info like logs, screenshots etc. are appreciated.

Gman54 commented 3 years ago

Thanks for the quick reply. Here is what I have.

debug-auth1.txt

image image

It takes me directly to; image without login Hope it helps.

morincer commented 3 years ago

/app/saml/callback is the URL where SP should POST the SAML messages, it is not the page which initiates login. To initiate login you should use /app/saml/login/ (this is where you're in fact going to when clicking "Login with SSO" button).

I don't know hovewer if AWS allows specifiying different URLs for these different cases, but if it does - give it a try.

morincer commented 3 years ago

Closed due to no response.

Gman54 commented 3 years ago

Sorry, it took a while to implement, but changing the URL worked, thank you!