WordPress.org

Forums

Clef Two-Factor Authentication
[resolved] Suggestion: allow additional application ID pairs to be entered (6 posts)

  1. Sandie
    Member
    Posted 1 year ago #

    Allow more than one pair of application ID and secrets to be entered, to allow for example a Staging site to be correctly integrated. To take the idea further, it would be great to be able to limit the Staging site login to one selection of users, and the main site login to a different selection of users.

    https://wordpress.org/plugins/wpclef/

  2. Jesse Pollak
    Member
    Plugin Author

    Posted 1 year ago #

    What would this sort of staging site integration look like? I'm not quite sure that I understand the use case here.

  3. Sandie
    Member
    Posted 1 year ago #

    For folks using several installations for example for development, staging and live sites, plugins often use the same settings for each installation. Where you ideally want different settings for the different environments, it becomes much simpler if it can be handled by the plugin, rather than through various workarounds.

    I'm thinking that perhaps one ID pair could be added to the plugin for each related installation, and maybe that idea could be extended to the configuration being connected to the ID pair.

    One example of it in use would be with the wpengine.com staging option. They have a close to one-click option to move a staging site to live. Of course if the Clef plugin on the staging site has the ID pair for the live site, you can't actually use Clef to log in to the Staging site*. If it has the Staging site ID pair set up, then when you move it to live, nobody will be able to login until you go in to the Clef configuration and update the Clef ID pair to be the Live settings.

    *There is the workaround of entering the two application domains, but it appears that allows login, but doesn't work for the single signout. Also it doesn't allow for differing access requirements between Staging and Live.

  4. Jesse Pollak
    Member
    Plugin Author

    Posted 11 months ago #

    So, would you still have to go in a select the other application ID pair, or would it be done automatically for you? Would you just enter multiple IDs and Clef would figure out which was the correct one to use based on the domain the user is logging in on?

  5. Sandie
    Member
    Posted 11 months ago #

    For my use case, automatic and Clef figuring it out based on domain being logged in to would be fantastic.

    That said, just being able to store more than one pair in the plugin would be a win (would save the continual cut and pasting of the pair information).

  6. Sandie
    Member
    Posted 10 months ago #

    Since this an enhancement suggestion, I'll close it down now it's been discussed ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Clef Two-Factor Authentication
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic