The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Prehire login credentials using email address

Mike S1
Tera Contributor

Hi all,

I'm working through an issue I wanted to throw out to the community.

 

We're trying to grant prehire users access to the system and need to have them login directly with a provided user name and password. We wanted them to use their personal email address as the user name, but as there are existing processes already in place on the platform, we can't store this value in the user_name field.  We've considered using two user records to solve this, but it would be easier to find a login process that can take the value of the user's email address while they're going through the prehire phase. We've looked at Installation Exits and cloning the login portal widget...but no luck. Has anyone found a way to log in using a field other than user_name?

 

Thanks

-Mike

4 REPLIES 4

John Zhang1
Kilo Patron
Kilo Patron

Hi Mike

 

You can follow ServiceNow doc-Create a user registration configuration for external users (https://docs.servicenow.com/en-US/bundle/tokyo-platform-security/page/integrate/authentication/task/...

 

 

 

Hi John,

Thanks for that link. I haven't used that plugin before. It looks like it puts the user's email address into the user id field. Were you ever able to work around having the email address in this field for authentication?

Thanks!

-Mike

 

Since you are creating user record for prehire who isn't in your systems yet so you can't user OOTB user table.  You got to use ServiceNow OOTB User Registration for the external user so pre-hired user can access pre-hired onboarding tasks through ServiceNow portal.

 

JohnZhang1_0-1672952591905.png

 

I did set up that OOTB User Registration configuration for a Prehire user. I didn't really make any changes to the setup and just ran a few through to see the output. It seems like the Transformation section of that setup will generate a record in sys_user:

Screenshot 2023-01-06 093816.png

Once I ran that process for my test user, it just added a record to sys_user and prefilled the user name:

Screenshot 2023-01-05 152236.png

I was able to test with the email in the User ID, but I needed it to sit in Personal Email and have the login to read that as the user name on login.