Have you updated the Legacy Lock API in the latest version of a plugin that is deprecated on 16 July 2018?
Here is the link of it https://auth0.com/docs/migrations/guides/legacy-lock-api-deprecation#am-i-affected- Please review it and let me know about the depreciation and how to update the latest version of the plugin without lost any data on our site.
Thanks in advance.
The page I need help with: [log in to see the link]
Version 3.4.0 should have updated you to the latest version of Lock at that time, 11.1 IIRC so if you’re on that version (or later) you should be fine. You can make sure by going to wp-admin > Auth0 > Settings > Advanced tab and see what you have under the “Lock JS CDN URL” (or “Widget URL” on older versions). If it says “11” anywhere in there, then you’re good to go! If not, change that to the latest:
Let me know if you have any trouble here!
- This reply was modified 4 years ago by Josh C.
Thanks for your meaningful replay.
I have reviewed the advanced setting where I have found the URL
So, here I have assumed that we need to update the plugin to the latest version of the plugin. Correct?
After updating the plugin can we need to do any other changes for being not affected by the depreciation?
Please do let me know your inputs about the same.
If you’re on a version less than 3.4.0 then a plugin update will help. If you’re already on the latest and that has not been adjusted for whatever reason, you can use the link I posted above. You can also use that new link with an older version of the plugin if you’re still testing the update (we definitely recommend you stay on the latest version).
Today Auth0 shut off the legacy endpoint, and our logins stopped working. They have a switch that allows us to use this old endpoint until August 6, but after that nobody will be able to log into our website. (I enabled this switch, so our site is fine right now.)
I had hoped that updating to the latest plugin would fix this, but it hasn’t.
We are using the latest version of the plugin(Version 3.6.2) and using the Lock js
What do we need to do now? please suggest…
> our logins stopped working
Can you give me a little more detail here? Lock 11.x is the upgrade you’ll need and it sounds like you have that.
I have not the Auth0 dashboard details but I have all the details about the Auth0 plugin details and website environment.
Can we need to change anything from the Auth0 dashboard? or from the plugin to working with the new lock APIs.
What details you need?
- This reply was modified 3 years, 11 months ago by Ajay Ghaghretiya.
You should not need to, no. That’s why I was asking about the login problems, what is the actual problem? Reproduction steps? Error messages?
I disabled the legacy API and tried to login, which gave me this:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://thinkscience.au.auth0.com/co/authenticate. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://thinkscience.au.auth0.com/co/authenticate. (Reason: CORS request did not succeed).
Please do let us know your inputs about the same.
@ajayghaghretiya1 – It looks like we also have a support ticket open for this same issue. Do you want to continue here or on that ticket?
A few things to check though:
– Do you have you site’s domain set in the “Allowed Origins (CORS)” field for the Application you’re using?
– Are you getting caught by anything related to cross-origin authentication, as explained here? It’s worth it to check another browser. We’re rolling out support for custom domains in the next release (not possible on a free plan, FYI).
– Can you try using the latest Lock version? Change your JS CDN URL to
Thanks for your detailed information about this issue.
Yes, It would be great if you can provide us the URL of the ticket of Allowed Origins (CORS) Issue.
Also, we will look into the settings that you have suggested.
The ticket I have for you is:
https://auth0.zendesk.com/agent/tickets/45030 (not a public URL, must be logged in)
One more thing to check … make sure your site’s domain is added to the “Allowed Web Origins” field as well. The plugin would not have worked before so it should be there but no reason not to check that as well.
Feel free to respond here or on the ticket linked above if this is still a problem or if you found a fix.
We have fixed this issue by updating the Origins from Auth0 application. And It is working as expected.
Thanks for your support.
- The topic ‘Did you updated the Legacy Lock API in latest version?’ is closed to new replies.