# Login with Password

{% hint style="success" %}
**Prerequisites:**

The resident is registered with a username and password using eSignet's Signup portal. In the below demo application, we are using the resident's phone number as a username.
{% endhint %}

1\. On the portal, the resident clicks on the button **Sign In with eSignet**.

<figure><img src="https://3349261888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylzvZHp30DQ3rNCClELV%2Fuploads%2Fgit-blob-bd9fb62fd90083b58552e802c88f3a41c61b58f0%2FHealth%20services%20home%20page.png?alt=media" alt=""><figcaption><p>Sign in with eSignet page</p></figcaption></figure>

The login screen appears, and the resident is displayed with the options they can choose for login.

{% hint style="info" %}
**Note:**\
If the `acr_values` the query parameter is presented with only one `acr` in the authorized URL, then the login options page is skipped, and the resident is directly taken to the login page.
{% endhint %}

2\. The resident needs to enter a registered username in the **Enter 8–9-digit mobile number** and password in the **Enter password** text field and check the box 'I'm not a robot'.

The password-based authentication is secured with a captcha.

![](https://3349261888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylzvZHp30DQ3rNCClELV%2Fuploads%2Fgit-blob-724629ab7d908fdec252365c99a34db50b2e2538%2Flogin-with-pwd-form.png?alt=media)

4\. Next, the resident clicks the **Continue** button.

{% hint style="info" %}
Note:

* The login with Password form also has a link to **Sign Up With Unified Login** to navigate to the Signup portal, if the resident is still not registered.
* **Forgot password** link is also available for resident to navigate to the signup portal to reset the password.
* Resident can resume back login after successful registration as well as after successful reset of password.
  {% endhint %}

5\. The resident is then navigated to the Consent page. On this page, the **Essential** and **Voluntary** claims are displayed.

![](https://3349261888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylzvZHp30DQ3rNCClELV%2Fuploads%2Fgit-blob-5e1fd4fd15e52e3355e7253f2b08a171a7eb3cdb%2Fconsent-page.png?alt=media)

{% hint style="info" %}
The consent screen is presented solely to the resident if consent has not previously been obtained. Additionally, a timer is incorporated into the Consent screen, allowing the resident to respond within the designated time frame. If the allotted time elapses, residents will be redirected to the relying party user interface.
{% endhint %}

6\. The resident should now click the **Allow** button. The system navigates the resident to the **User Profile** page which displays all the personal information based on the consent provided.

![](https://3349261888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylzvZHp30DQ3rNCClELV%2Fuploads%2Fgit-blob-e438f1a8e71dafef9c91f031d214c114cbb2e18d%2Fhealthservices-user-profile.png?alt=media)
