Hi, I'm Gunwoo Park.
I have a user pool and want to let my users to log into JSD through my user pool. There is no "email" information in my user pool, so I'd like to use "sub" for Open ID Connect.
I need to create a corresponding JSD user programmatically for each user and I've checked JSD REST API and found POST /rest/servicedeskapi/customer.
There is a problem with the mentioned endpoint, which is I cannot set "username" as whatever I want. The JSD REST API document says "The customer's username is their email address", which is obviously a different behavior with JSD Admin Webpage where I can set "username" as whatever I want.
This prevents me from assigning "sub" as "username" since the endpoint requires me to insert a valid email address, which cannot cover the sub format like 00567bd3-afe3-4eac-b123-b9e49aa1aca0.
I suggest you to consider adding a new input paremeter "username" on POST /rest/servicedeskapi/customer, which will allows me to create JSD users with sub as username.
I'll be looking forward to hearing from you. Thank you.
Hello @gunwoo.park,
Welcome to the Atlassian Community!
When creating new accounts via UI or via API, it’s not possible to set a username for customers or users.
Usernames were deprecated due to GDPR and now for all new customers, the username will have this unique ID and it's internal, customers won't see it.
On the customer portal, customers can only log in with their email address and password.
Users can log in with email and password or also with Google, Microsoft, Apple or, in case the domain is verified and SAML is configured, they can use an identity provider to login.
There is a feature request suggesting this ability, but it was created before the deprecation of usernames.
For more information, please check the blog post below:
Kind regards,
Angélica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.