
00ujezg2z5NWiWWBt0h1.5503794522060852E12 (Customer) asked a question.
Hi,
I am doing inbound federation with an external IDP, and I want to map the user's email to the okta JIT created username, but with a small extension - like if the user email is jack@acme.com, I want Okta to create a JIT user named "acme\jack@acme.com" .. To do this I tried the below in the IDP profile mapping
String.join("acme\", idpuser.email) ---> Okta username
But thats not working - the "acme\" I append is not getting added to the email. Any ideas if this can be done and if so how ?
Rgds,
Gopa.

Hello @00ujezg2z5NWiWWBt0h1.5503794522060852E12 (Customer)
Thanks for posting.
Could you please try the following:
String.append("acme\",idpuser.email)
Additional information can be found here:
https://developer.okta.com/docs/reference/okta-expression-language/#string-functions
If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com,
and they should be able to help you with this.
devforum.okta.com
Okta Developer Forums this is a place for the Okta developer community to interact
Let us know if this helps you.
Have a great day!
Daniela Chavarria.
Okta Inc.
this seems to work, thanks!