Okay so there are no errors showing up in the auth0 error log when I login.
Is that the Auth0 dashboard error log or the one in wp-admin > Auth0 > Error Log? This is definitely a callback issue on the WP site. If you end up on that URL then the Auth0 authentication passed.
I turned on debug and it came back with an error saying Callback URL mismatch
Was it in a nice WP error display (like the screenshot here) or just unformatted black text on white? Do you see that error message in the URL?
now when I login it goes straight to the page below instead of hanging on a blank page.
That shows after the redirect now? That’s a security feature added in 3.6.0 and relies on having a cookie set on login and validated on the callback. Can your hosting setup and see if that callback URL is cached?
Fatal error: Uncaught exception ‘BeforeValidException’ with message ‘Cannot handle token prior to (iat) 2018-06-25T22:54:05+0000’
That usually happens if your server’s time is not set properly. It’s saying that the token you got was generated before the current time, which could only happen if one of the two times are off (it’s not Auth0’s or our service wouldn’t work ). Check what
echo current_time( 'c' ) outputs on your server.
That said, we definitely need some error handling there and I’ll make to add that in the upcoming patch release.