This JavaScript code sample demonstrates how to implement authentication in a Vue 3 Single-Page Application (SPA) using the Auth0 SPA SDK.
Hi, I am trying to get your example running, just to get a taste of the possibilities. However, I am ending up with this after pushing the Log In button:
1 Like
Welcome to the Auth0 Community and thank you for using the Auth0 Developer Hub.
Let us investigate what could be going on with the code sample. We’ll get back to you within 24-48 hours
1 Like
Howdy! I think I have a solution for you:
Did you set up a companion Hello World API locally and define its audience value? Have you defined the VUE_APP_AUTH0_AUDIENCE
value in your .env
file?
Thanks! I removed that VUE_APP_AUTH0_AUDIENCE from the .env and now it works!
1 Like
Great! I am glad you got it working. Please let us know if you have any other questions or feedback.
1 Like