Script for login authentication

Vimal Priya
Giga Guru

Hi All,

What is script (script include/ BRule)   used for validating user login into the servicenow instance?

Please share it.

Thanks in advance.

Regards,

VimalPriya S

13 REPLIES 13

Go to system UI->Messages->Search for key login_invalid.


Please mark the response as correct/helpful if this answers your question.


Yes I got it .


Thanks Pradeep


But still I have one more doubt,If the login has failed the error message will be populated from the installion exists as you mentioned.


In case ,if the login successfull from which script the session is provided to that user.




Thanks in advance.


Regards,


VimalPriya S


Will look in to it.


Hi Pradeep,


Any updates on it ???



Thanks in advance.



Regards,


VimalPriya S


Hi Vimal Priya,

 

I know this is old post, but I am curious to know if you have found how system validates the user. I have done some research as I am working on something similar. I have reviewed the login widget and it sends HTTP POST to view_form.login(which I not sure how to access) with username, password. The Post method handles the validation and returns the response. Based on the response code the success or error message is displayed.