morincer / teamcity-plugin-saml

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

Map full name from Google Workspace #90

Closed SergeiCherevko closed 2 years ago

SergeiCherevko commented 2 years ago

Hello! Can you add function which is map first name and last name from Google Workspace separately, because i can't create a new attribute which contains first and last name in one attribute image image Or maybe along with "Custom attribute" i can add something like "First+Last" which is means concatenating both attributes in one string

morincer commented 2 years ago

Hi @inkdude, usually such kind of transformation is supposed to be performed on IdP side - not a consumer. However, I'll evaluate implementation options for this request.

morincer commented 2 years ago

Implemented a custom expressions feature - check Readme.md for a syntax examples. You may give it a try after a new version (1.4.1) is released - planning to do it today or tomorrow.