When a user is logged in, but does not have an authorized claim/role they cannot logout

Product: PowerShell Universal
Version: 2.9

We use a custom authentication flow where a user is logged in first, then claims are assigned. A user can be logged in, and not have rights to a particular page. When this happens they get an “Unauthorized” page with a button to login, however clicking the button doesn’t do anything since they are already logged in.

Is there a way to make the login page always available, so that someone could re-login to establish a new session or alternatively could I make a dashboard that would log someone off?

Nevermind, I figured out if I make a dashboard with a URL of “/” I can have a page when anyone logged in can logout.

Latest versions of PSU, also include a sign out button for the unauthorized page
June 2022 - Product Updates and Releases (ironmansoftware.com)

1 Like