Hello Harshraj,
You can use the below method to perform login.
In addition to S C Chengaiah’s answer, if you don't need to run this from a Microflow you may find it easier to instead use the SignIn JavaScript action in the Nanoflow Commons module and call this directly from a Nanoflow.
https://docs.mendix.com/appstore/modules/nanoflow-commons/
Hi Harshraj Singh,
I’ve achieved this custom login feature by using the Sign in JavaScript action. Call the nanoflow action from the login button then use the sign in JS action. Please find the attachment for you refference.
Thanks & Regards
Dinesh Gunasekaran