I have gone through the basic tutorials on adding Auth0 to my weweb site. I have added the application and the urls to my custom domain. When I goto my live site or even the preview in the weweb editor and I click on sign up or login I get the following error. I am not sure where to track down the issue. Attached is the error window.
Hi @twilight
Can you show us how things are configured in Auth0?
It looks like there are a bunch of UTMs attached to your URL. Maybe that’s why the URL is not found. Not sure why there’s a reference to open id for example.
Thanks so much for replying. Here are my settings in weweb and on Auth0 under the single page application section.
Hi, @twilight
As per our documentation: “The Page to redirect after the user signed-in
should be a public page. If you wish to redirect authenticated users to a private page, you should create and select an empty public page with a workflow triggered On page load
that redirects them to the page of your choice.” Auth0 | WeWeb Documentation
Could you try this and let us know?
You also have Auth0 and WeWeb Auth. Can you remove WeWeb Auth?
Hi Dan,
Again thank you for the super fast response. All the pages on the sit at this time are public. So that shouldnt be a factor at this time. I did delte the weweb auth plugin however when I clicked deploy the following error happened in my logs:
ERROR Error: Build failed with errors.
Error: Build failed with errors.
at /tmp/front/node_modules/@vue/cli-service/lib/commands/build/index.js:207:23
at /tmp/front/node_modules/webpack/lib/webpack.js:168:8
at /tmp/front/node_modules/webpack/lib/HookWebpackError.js:67:2
at Hook.eval [as callAsync] (eval at create (/tmp/front/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/tmp/front/node_modules/tapable/lib/Hook.js:18:14)
at Cache.shutdown (/tmp/front/node_modules/webpack/lib/Cache.js:154:23)
at /tmp/front/node_modules/webpack/lib/Compiler.js:1379:15
at Hook.eval [as callAsync] (eval at create (/tmp/front/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/tmp/front/node_modules/tapable/lib/Hook.js:18:14)
at Compiler.close (/tmp/front/node_modules/webpack/lib/Compiler.js:1372:23)
Failed to build project
Can you deploy again? If it still not working, check whether you have custom scripts in the head or in the body of the app.
I waited then did a reload and it was able to build again.
I am getting the same error however this time I ran it from my site and form the weweb editor.
Here is the error from the weweb editor:
https%3A%2F%2Feditor.weweb.io%2Fea07847b-5de9-4180-9359-9baf3c36a68b%2Fa922650d-6a78-4ae5-bd27-a00f9e645997&screen_hint=login&response_type=code&response_mode=web_message&state=LXlXVHpZa2E4dWotZGhSNWNSYTdTc2xmaXFGWWVKWVh4ZV9iT3ZqMUZUQQ%3D%3D&nonce=TFFfdDh4Q2FXaTN6U2plZ29sbXFWNE1FbGdtQklRYWFLSnplV25IdzNQQQ%3D%3D&code_challenge=cwFrdNC3yDF3uWIHfoCgLCMH4wofYbdAsKyMrt8kz3I&code_challenge_method=S256&auth0Client=eyJuYW1lIjoiYXV0aDAtc3BhLWpzIiwidmVyc2lvbiI6IjIuMC43In0%3D
Can you DM me the editor link and some test credentials?
Done thank you.