# Login user without prompting for username and password

**URL:** <https://community.auth0.com/t/login-user-without-prompting-for-username-and-password/114090>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [August 21, 2023, 10:45am UTC](https://community.auth0.com/t/login-user-without-prompting-for-username-and-password/114090 "2023-08-21T10:45:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh.auti.ext](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mahesh.auti.ext/32/50083_2.png) [@mahesh.auti.ext](https://community.auth0.com/u/mahesh.auti.ext)\
**Post date:** [August 21, 2023, 10:45am UTC](https://community.auth0.com/t/login-user-without-prompting-for-username-and-password/114090/1 "2023-08-21T10:45:43Z")

</div>

I have a nextjs application using auth0. I have a type of user which I need them to be able to automatically login with hardcoded username and password. would be great if someone can help.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [August 22, 2023, 5:47am UTC](https://community.auth0.com/t/login-user-without-prompting-for-username-and-password/114090/3 "2023-08-22T05:47:57Z")

</div>

Hi @mahesh.auti.ext,

Welcome to the Auth0 Community!

There are a couple of options to login the user without prompting for credentials again.

1. [Configure Silent Authentication](https://auth0.com/docs/authenticate/login/configure-silent-authentication)
2. [Configure Refresh Token Rotation](https://auth0.com/docs/secure/tokens/refresh-tokens/configure-refresh-token-rotation)

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 5, 2023, 5:48am UTC](https://community.auth0.com/t/login-user-without-prompting-for-username-and-password/114090/4 "2023-09-05T05:48:23Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
