• Hi,
    My use case is rather simple. Users share public workstations and when they log out from WordPress they come back to the login page which remember and shows the previous user, showing the message “the message “It looks like you’re logged into Clef as…”.

    The only way to achieve it so far is to ask users to logout on their phone but they may forget and the next user would simply be able to login on the previous user’s account.

    I was wondering if there is a way to prevent this and to make sure the previous user is not remembered.

    Tnx

    Michael

    https://www.ads-software.com/plugins/wpclef/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor inthylight

    (@inthylight)

    @michael good morning,

    On Clef’s architecture, the way to achieve your desired result is via the app: choose an appropriate timer length or press the log out now button when your time at that workstation concludes.

    The feature you are referring to is Clef’s Single Sign On. By design, when you manually log out from WP (i.e., when you click the log out link) you are logged out of WP but not logged out of your Clef session; thus you can re-log in to WP until you end your Clef session.

    To log out of your Clef session, you must press the logout button in the Clef app, or wait for the automatic logout timer to expire. This timer is adjustable, and it is set to 1 hour by default when you first log in to Clef.

    Thread Starter Michael

    (@mdorchain)

    Hi Lawrence, Thank you for the quick reply.
    I’m very familiar with Clef, I have been using it for quite sometimes.

    My concern is there is no real way to fully logging out from a single WP without using the clef app. While it’s perfect in most use cases where the workstation is not shared, I find it dangerous on shared ones.

    I was looking for a workaround the SSO, to make sure users are fully log out when they hit the logout link on wp.

    I guess either I remind the user to logout on their phone if they switch workstations or I use a regular OTP for my project.

    Plugin Contributor inthylight

    (@inthylight)

    Hey Michael,

    Unfortunately, the Clef system isn’t designed to do what you are seeking: it is designed for users to control their Clef session via the Clef app. And there isn’t an application-based workaround for SSO.

    But, there is a small step in that direction if you’re up for applying an action. On the assumption that all of your WP users are using Clef to log in, you can change the logout redirect URL with this action; so that when WP users click the logout link, they will be redirected to getclef.com/logout/, which asks users to log out of Clef (i.e., it is a way to add a reminder to log out of Clef, if that is helpful to you. . .).

    Use this plugin to add the action, and be sure to select the option to activate the action on the Dashboard when saving the action.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Logout and remember me’ is closed to new replies.