Support » Plugin: Clef Two-Factor Authentication » Suggestion: allow additional application ID pairs to be entered

  • Resolved Sandie


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jesse Pollak


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

    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 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.

    Plugin Author Jesse Pollak


    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?

    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).

    Since this an enhancement suggestion, I’ll close it down now it’s been discussed 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suggestion: allow additional application ID pairs to be entered’ is closed to new replies.