# Auth0 actions / flow for disclaimer not sending back to logon page

**URL:** <https://community.auth0.com/t/auth0-actions-flow-for-disclaimer-not-sending-back-to-logon-page/90106>\
**Category:** Get Help\
**Tags:** rules, auth0\
**Created:** [September 6, 2022, 10:42pm UTC](https://community.auth0.com/t/auth0-actions-flow-for-disclaimer-not-sending-back-to-logon-page/90106 "2022-09-06T22:42:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kris.macgillivray](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kris.macgillivray/32/33436_2.png) [@kris.macgillivray](https://community.auth0.com/u/kris.macgillivray)\
**Post date:** [September 6, 2022, 10:42pm UTC](https://community.auth0.com/t/auth0-actions-flow-for-disclaimer-not-sending-back-to-logon-page/90106/1 "2022-09-06T22:42:46Z")

</div>

we have create a disclaimer service / application and have a action configured to redirect the user to this disclaimer. (The user before this is already authenticated to auth0) if the user does not accept the disclaimer (payload which come back) the action should send user back to login page.

however what is happening I believe is the user rejects it and the login flow starts again, however since the user is authenticated (maybe it is the browser cache) they are not presented with the login page but it will go right back to the disclaimer.

I am doing api.access.deny(…) if the do not accept it

How can I have it go back to the logon page

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2022, 11:47pm UTC](https://community.auth0.com/t/auth0-actions-flow-for-disclaimer-not-sending-back-to-logon-page/90106/3 "2022-09-30T23:47:17Z")

</div>

Hi @kris.macgillivray,

Welcome to the Auth0 Community and apologies for the delay.

You may be able to clear the user’s session by redirecting them to the logout endpoint before you send them back to the login page.

---

<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:** [October 27, 2022, 11:39pm UTC](https://community.auth0.com/t/auth0-actions-flow-for-disclaimer-not-sending-back-to-logon-page/90106/4 "2022-10-27T23:39:46Z")

</div>

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