lukaszkorona
Forum Replies Created
-
It appears in the browser, after being redirected from auth0. JS console doesn’t display anything. The error is encoded in URL: “http://www.taalhammer.com/index.php?auth0=1&error=unauthorized&error_description=Access%20denied.&state=eyJpbnRlcmltIjpmYWxzZSwibm9uY2UiOiIzODE1MGRkNzIxMzZkMDg4OWQxMDAzNjllMjJkM2QxMjc5Y2ZiYzQ2NmU1OGVlZjc3OTZhMGMxNzYyNTYwNmE0In0%3D” with status code: 500
Allowed web origins is set to: http://www.taalhammer.com so seems it’s ok.
My browsers are not blocking third party cookies. I tried with Chrome and Firefox with the same results.
Ad. 1 We could switch to paid version but we’d like to be sure auth0 fit our needs. That’s why we’d like to see the plugin working before we’ll do further design and development decisions.
Ad. 2 I enabled “Universal Login Page” and the result is exactly the same except the login form is hosted on https://taalhammer.eu.auth0.com
Hi,
You were right with the Connection.
Unfortunately i ran now exactly into the initial problem with the authentication: “Access denied. [error code: unauthorized]” (Failed cross origin authentication). There is nothing in Apache error log. Plugin error log doesn’t have anything either.
Any ideas what else i could check? Also should i post it on Auth0 community forum?
Thanks
Hi,
I finally had some time to do as you suggested. I installed everything from scratch and seems i run into even more strange error. While configuring the plugin, when i was asked to provide password for my own user to synchronize it with auth0 database i got following error: {“error”:”connection is required”}
When i checked Apache logs i see something went wrong with creating mysql table:
[Wed Dec 12 22:16:47.410705 2018] [php7:notice] [pid 30887] [client 79.191.87.232:50607] WordPress database error Table ‘wordpress.wp_auth0_user’ doesn’t exist for query SELECT a.*\n\t\t\t\tFROM wp_auth0_user a\n\t\t\t\tJOIN wp_users u ON a.wp_id = u.id; made by activate_plugin, do_action(‘activate_auth0/WP_Auth0.php’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Auth0->install, WP_Auth0_DBManager->install_db, WP_Auth0_DBManager->migrate_users_data, referer: http://136.144.131.123/wp-admin/plugin-install.php?s=auth0&tab=search&type=term
[Wed Dec 12 22:18:09.302342 2018] [php7:notice] [pid 30886] [client 79.191.87.232:50649] {“error”:”connection is required”}, referer: http://136.144.131.123/wp-admin/admin.php?page=wpa0-setup&step=3&profile=socialWordpress version is 5, Ubuntu 18.04, PHP 7.2.10, Auth0 plugin 3.8.1
OK, i’ll do that and let you know about the results. Thanks a lot
There are no error in wp-admin > Auth0 > Error Log
I didn’t use User Migration. I disn’t set up any rules either. It’s a fresh wordpress install where we wanted to evaluate the plugin and auth0 services.
Hi Josh,
Thanks for the reply.
I’m loggin from /wp-login.php. Login is not successful. The message is displayed on following redirect url:
http://www.taalhammer.com/index.php?auth0=1&error=unauthorized&error_description=Access%20denied.&state=eyJpbnRlcmltIjpmYWxzZSwibm9uY2UiOiI3NGUwY2E0MzhiNDVjMmNmY2MxOWNlZmI5ZDM2YWIwYzllMDIwODljODNkYTA5MzE5Mjc5Y2JhMTEzODYxYjA5In0%3DIn the console i can see following error message:
VM191 lock.min.js:9 GET http://www.taalhammer.com/index.php?auth0=1&error=unauthorized&error_description=Access%20denied.&state=eyJpbnRlcmltIjpmYWxzZSwibm9uY2UiOiI3NGUwY2E0MzhiNDVjMmNmY2MxOWNlZmI5ZDM2YWIwYzllMDIwODljODNkYTA5MzE5Mjc5Y2JhMTEzODYxYjA5In0%3D 500 (Internal Server Error)
By “User detail view” i meant the auth0 dashboard -> users than click on specific user and History