# How do I force a user to login again?

**URL:** <https://community.auth0.com/t/how-do-i-force-a-user-to-login-again/107572>\
**Category:** Get Help\
**Tags:** sessions, logout\
**Created:** [May 22, 2023, 8:50pm UTC](https://community.auth0.com/t/how-do-i-force-a-user-to-login-again/107572 "2023-05-22T20:50:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mc3](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mc3](https://community.auth0.com/u/mc3)\
**Post date:** [May 22, 2023, 8:50pm UTC](https://community.auth0.com/t/how-do-i-force-a-user-to-login-again/107572/1 "2023-05-22T20:50:29Z")

</div>

I have the 1 click login functionality working. However, after logging in the first time and logging out, the user automatically logs in without the popup coming up. Is there any way to force a user to see the login page again?

I have been reading and it seems to have something to do with refresh tokens. However I am not sure how to implement a solution here.

The platform I am working to build the application on is [bubble.io](http://bubble.io)

---

<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:** [May 22, 2023, 10:34pm UTC](https://community.auth0.com/t/how-do-i-force-a-user-to-login-again/107572/3 "2023-05-22T22:34:42Z")

</div>

Hi @mc3,

Thanks for reaching out to the Auth0 Community!

If you want to force a user to log in and prompt them for their credentials again, you can achieve this by including the `prompt=login` query parameter when making the login request.

Here’s an example of how the URL would look:

```auto
https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}&
    prompt=login

```

Please refer to our [Force Reauthentication in OIDC](https://auth0.com/docs/authenticate/login/max-age-reauthentication) documentation for more information.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![dhickss33030](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dhickss33030/32/45717_2.png) [@dhickss33030](https://community.auth0.com/u/dhickss33030)\
**Post date:** [May 29, 2023, 10:29am UTC](https://community.auth0.com/t/how-do-i-force-a-user-to-login-again/107572/4 "2023-05-29T10:29:41Z")

</div>

Go to Sign-in settings. For Browser sign-in settings, select Force users to sign-in to use the browser. Click Save.

---

<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:** [June 12, 2023, 10:30am UTC](https://community.auth0.com/t/how-do-i-force-a-user-to-login-again/107572/5 "2023-06-12T10:30:29Z")

</div>

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