Skip to content
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

Set up process online / offline #156

Closed
SteveC opened this issue Mar 21, 2016 · 6 comments
Closed

Set up process online / offline #156

SteveC opened this issue Mar 21, 2016 · 6 comments

Comments

@SteveC
Copy link

SteveC commented Mar 21, 2016

Can we skip the question about online or offline to access servers at auth0 by running some javascript to test?

Then if you're online it can give both options, if you're offline it can say "hey we can't contact auth0". Presumably we have to test both the browser can connect and the WP instance can connect too?

What I'm trying to achieve is a reduction in complexity / steps here by not asking the user something complicated unless we can avoid it..

@glena
Copy link
Contributor

glena commented Mar 21, 2016

I thought about this but we would need to host some app to ping the plugin, so I went the simpler way. I will keep this in the backlog and check on this later

@SteveC
Copy link
Author

SteveC commented Mar 23, 2016

Hm. Can we not just have a snippet of XML on auth.com or something to grab? like auth0.com/test.xml ?

Or do we really need an actual endpoint? And if so, can we just ping some existing API, anything at all, just to see if it's there or not?

@glena
Copy link
Contributor

glena commented Mar 23, 2016

What we need to test is if auth0 can reach the wordpress site, this is because:

1- Auth0 needs to fetch the client info during the federated oauth2 flow to get the api token
2- Auth0 needs to call the migrations endpoints if custom db + import mode enabled.

When the users selects the offline flow, besides skipping the oauth2 flow, it disables the migration mode.

@SteveC
Copy link
Author

SteveC commented Mar 23, 2016

Ok - I think it's important if possible that we try this automatically and only if it fails show the user the offline scary options.

Steve

On Mar 23, 2016, at 4:56 AM, Germán Lena notifications@github.com wrote:

What we need to test is if auth0 can reach the wordpress site, this is because:

1- Auth0 needs to fetch the client info during the federated oauth2 flow to get the api token
2- Auth0 needs to call the migrations endpoints if custom db + import mode enabled.

When the users selects the offline flow, besides skipping the oauth2 flow, it disables the migration mode.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

@SteveC
Copy link
Author

SteveC commented Apr 4, 2016

Since the online/offline screen is only one part of the install process - to be clear I think we should automate everything else too so the process has no user interaction required

@glena
Copy link
Contributor

glena commented Apr 6, 2016

we will close this issue until we figure out how to improve the onboarding flow.

@glena glena closed this as completed Apr 6, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants