I have read all the similar topics online. I have checked the client ID and domain are exactly the same. No extensions are used in the browser. Tried with Chrome, firefox and IE. ALL the same result.
I have followed every steps in the provided tutorial.
You see, it’s so simple steps in the tutorial so I can make sure I exactly follow every steps.
Can any one kindly give me some hint?
I appreciate any help!
The only way I can reproduce your issue is by inserting an incorrect client id. You said you have checked this and it is correct. Perhaps the audience is causing an issue? can you try using the management api for an audience and see if this works just for testing against a valid api https://YOUR-DOMAIN/api/v2/
Unfortunately it doesn’t work for me. I changed the audience in the html file, with replacing YOUR-DOMAIN with my real domain name.
I am sure the client ID is the same:
the ID shown in the error message: vgRH8Hb3bBt94320kT1WIe7TrqgINyk5.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) index.js:493 Uncaught Error: Error: An error occurred when fetching client data for Lock: https://cdn.us.auth0.com/client/vgRH8Hb3bBt94320kT1WIe7TrqgINyk5.js?t1663812859123 could not be loaded.
at index.js:493:7*
and compare with: copy from the auth0 board: vgRH8Hb3bBt94320kT1WIe7TrqgINyk5
I have also tried to put the html file in localhost, as another tutorial mentions that it should not be opened directly from my disk.
I tired to only use auth0 as an IDP and use samltest tool as a server, it works.