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

Azure group mapping #131

Closed joakimkingstrom closed 4 months ago

joakimkingstrom commented 4 months ago

Hi,

I've just started using this plugin on our TeamCity instance and am trying to get group mapping to work.

I've created a couple of groups which have the exact same name in Azure as the key value of those groups in TeamCity. I've tested by leaving the 'Map' fields at none, as well as filling them in with the custom attribute for the relevant field, i.e. those below:

E-mail: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress Full Name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/displayname Groups: http://schemas.microsoft.com/ws/2008/06/identity/claims/groups

Am I doing something wrong, or is it not supported with Azure? If not, would it be possible to add support for Azure group mapping?

Kind regards, Joakim

joakimkingstrom commented 4 months ago

Figured out the problem - I had to enter the Azure Group Id as the Key Value in TeamCity.