Skip to main content

Sign Visitors Out of Your Application

Link to /logout to give visitors a way to sign out from inside your content.
Published

November 2026

Your applications can now offer visitors a sign-out link. Link to /__logout__ on the content’s own address:

<a href="/__logout__">Sign out</a>

When a visitor follows the link, Connect Cloud signs them out of Posit, clears any private link token they used to open the content, and returns them to the content. For private content, they see the sign-in page and must sign in again to view it.

Use the absolute path /__logout__. A relative __logout__ link only works from the content’s root page.

Learn more in the User Guide: Signing visitors out.