-
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
Cant login with Auth0 #369
Comments
Error Log From Auth0 Success Exchange | Authorization Code for Access Token | 6 minutes ago | | Website |
@jsargent7089 - Sorry for the trouble here and thanks for the detailed report. A few questions for you:
One thing to try is to generate a new token and save that in wp-admin > Auth0 > Settings > Basic > API token. Adjust the token expiration date up a bit, maybe 1209600 (2 weeks), so it doesn't expire right away. We're addressing the API access process in the release we're working on now to avoid this work-around. Thank you! |
I'm am not using implicit flow. I signed up for auth0 about 2 weeks ago. i Fixed that issuse. Now got another issue. After I login I get redirected to my home page. when try to get to the admin page it wants me to login again. Error Log
|
@jsargent7089 Presume you have this option in the plugin under advanced enabled @joshcanhelp looking at the first log it looks like it tried to delete the rule but failed as token had expired, once a new token was supplied it tried to re create the rule but of course the old rule was never deleted. |
I uninstalled the auth0 plugin and fixed the token issue. Now I'm back to original issue and I can't turn on link users with the same email address. I get this error There was an error creating the Auth0 rule. You can do it manually from your Auth0 dashboard. There was a problem with your log in This account does not have an email associated, as required by your site administrator. 01/23/2018 23:05:23 WP_Auth0_Api_Client::create_rule Account-Linking-Do-Not-Rename-Dozecloud-LLC N/A {"statusCode":409,"error":"Conflict","message":"A rule with the same name already exists","errorCode":"rule_conflict"} |
UPDATE if I have Auth0 Implicit flow turn on it works. If it's off can't login with auth0 plugin |
@jsargent7089 - The login issue will be fixed with the next release, coming out here in a day or so once we've finished testing. Known critical issue that surfaced, just want to make sure the release is as solid as possible. For the rule, you can go to your Auth0 dashboard and delete that manually, then try to re-create. Though I would recommend a clean install once the next release is out. |
@jsargent7089 - Release (3.5.0) is live and should fix the issues you've got here. If you see a red banner after updating, there will be instructions for completing the update in your Auth0 dashboard. Easiest thing to do is to create a new API token and save it under wp-admin > Auth0 > Settings > Basic > API token: https://auth0.com/docs/api/management/v2/tokens#get-a-token-manually You can also go to your Auth0 Dashboard > APIs > Auth0 Management API > Non-Interactive Clients tab and authorize the WordPress client you’re using. I'll leave this open for a few days, let me know how it turns out. |
Everything has been fixed do to the update. Thank you for all your help |
Great to hear and happy to help! |
Login Error
There was a problem with your log in This account does not have an email associated, as required by your site administrator.
Error log
{"statusCode":401,"error":"Unauthorized","message":"Expired token received for JSON Web Token validation","attributes":{"error":"Expired token received for JSON Web Token validation"}}
The text was updated successfully, but these errors were encountered: