New — Iris AI drafts your firewall, routing & rate-limit rules. Explore AI features →
Changelog
Security

Sign people out of your app: one browser, everywhere, or everyone

See where each user is signed in and sign out one browser, all of theirs, or everyone. Your app gets a sign-out link without any sign-out code.

Sign people out of your app: one browser, everywhere, or everyone

A sign-in at the edge used to last until its session ran out. When someone lost a phone, you could suspend them, but you couldn't simply sign that phone out. And your app had no sign-out link to give its users.

Now each user's page lists their Signed-in browsers, with Sign out on each one and Sign out everywhere above them. Above, Priya left her iPhone in a taxi. Maya signs out the iPhone, and Priya keeps working on her laptop.

The Sign-out link card in Your app: the link https://app.example.com/_tunnel_auth/logout and two HTML snippets, each with Copy
The console's menu gets a Sign out link. It signs that browser out and opens the sign-in page. With ?next=/account, the user lands on that page again when they sign back in.
The confirm Sign everyone out of app.example.com?: 5 users on 7 browsers sign in again. Access tokens and API keys keep working.
After a change to who may use the console, Maya signs everyone out. The confirm says who signs in again. The status page bot keeps working with its access token.
The confirm Turn off single sign-on?: the four users who only sign in with single sign-on, and the box Also sign everyone out now
Turning a sign-in method off signs out the browsers that signed in with it. The confirm names who can't sign in until it's back on.

What changed

  • Signed-in browsers. A user's page lists each browser with how it signed in, its IP address, when it signed in and when it was last active.
  • One browser, or everywhere. Sign out ends one browser's session, and the user's other browsers stay signed in. Sign out everywhere ends all of them. A user you sign out can sign in again: to keep someone out, suspend them.
  • Sign everyone out. In Sign-in, under Sessions. The confirm says how many users and browsers sign in again.
  • A method you turn off signs its browsers out. Turning Password or Single sign-on off signs out the browsers that signed in with it. Tick Also sign everyone out now to sign out the rest too.
  • A sign-out link for your app. /_tunnel_auth/logout on your endpoint's address signs the browser out and opens your sign-in page. Add ?next= with a path of your app to bring the user back there after they sign in. The Sign-out link card in Your app has it ready to copy.
  • Older sign-ins. Browsers that signed in before this update show as one row, and sign out together.
  • Scripts keep working. Access tokens and API keys aren't browser sessions, so no sign-out touches them.
  • Also from your tools. Each of these works over the API, the CLI and the MCP server too.

Get started

  1. Open the endpoint's Sign-in & access tab, then Users, and click a user.
  2. Under Signed-in browsers, click Sign out on one browser, or Sign out everywhere.
  3. To sign everyone out, open Sign-in and click Sign everyone out under Sessions.
  4. In Your app, copy the link from the Sign-out link card into your app's menu.
  5. Read the docs: Sessions and sign-out and Sign-out link.

Read the docs

Ask an AI to summarise this page
Deploy
App hosting Edge functions Domains & certificates
Connect
Secure tunnels API gateway Multi-region edge
Protect
Bot protection & challenge WAF & firewall Edge login
Observe & AI
Monitoring Inspector & replay Iris AI MCP server AI Gateway
Developers
Developer tools Docs ngrok policy converter Blog Changelog
Compare
Ngris vs ngrok Ngris vs Cloudflare Tunnel Ngris vs Vercel Ngris vs Netlify Expose localhost guide
More
Solutions Pricing Enterprise Sign in Get Started Free