-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve initial setup process #408
Comments
|
@joshcanhelp Note that in the future, users might want to "upgrade" their use case and might want to go through this setup again. So a button to reset the current configuration and show this setup is required. EDIT: I realize that's kind of what you wanted to achieve in the screenshot. But I'd simplify it to less options and a good description on each. |
"Why do we need to select an existing client? Why can't we always create one?" - The switch tells the setup wizard whether you want to use an existing one or not. If off, then that field will go away and it will create one for you. "Why can't we always enable SSO?" - It could default to on "I'd ask the user what's their use case" - I like this approach and was considering it but I'm on the fence for a few reasons.
"might want to go through this setup again" - it doesn't seem likely that someone would start from scratch on an existing site. That said, I think all the setup options should be in one place. "a good description on each" - descriptions are there. Don't worry, we'll have something better than lorem ipsum :) Thanks gents! |
Moving in a few tasks from #282:
|
Backlogged internally for a future release. |
I wanted to start a thread here to discuss how we can improve the initial setup process/wizard for the plugin.
The wizard, as it works currently, is optimized to work really well for a specific use case: sites that need username and password login in a separate database connection and want their users migrated. This means that use cases outside of this - social only, don't want user migrations, want to share a DB connection - need to then un-do a number of things in the Auth0 Dashboard (for example). This could be an existing, long-term Auth0 customer adding new WordPress sites, an important use case we definitely want to support.
I think much of the logic that exists now around creating Clients and Connections can remain but should be triggered based on administrator preferences, like this:
Besides the design and flow of how this should go, the only other main part of this would be error catching through the process. Right now, the wizard either succeeds or fails and the latter is not handled very gracefully.
I'm totally open to feedback here, including what options should be available in the wizard. This can easily be built in a way that can be migrated to the next major version of the plugin and, again, uses a lot of existing, working code.
The text was updated successfully, but these errors were encountered: