Login not working with Vue starter app

Hi. Newbie here who is probably (definitely) in over my head trying to learn 8base, but enjoying the process. I have set up my Vue starter app successfully using the Quick Start guide, but I am unable to log in. Clicking the “sign in” button takes me to a blank page at the following URL: http://localhost:3000/undefined/oauth2/undefined/oauth2/authorize?response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fcallback.

Does anyone have any idea what this issue might be?

@eggs3
Did you create the .env file in the root of your vue project with the variables related to your 8base auth profile?

PORT=3000
VUE_APP_WORKSPACE_ENDPOINT=<YOUR_WORKSPACE_ENDPOINT>
VUE_APP_AUTH_PROFILE_ID=<YOUR_AUTH_PROFILE_ID>
VUE_APP_AUTH_CLIENT_ID=<YOUR_AUTH_CLIENT_ID>
VUE_APP_WORKSPACE_ID=<YOUR_WORKSPACE_ID>
VUE_APP_AUTH_DOMAIN=<YOUR_AUTH_DOMAIN>

Check GitHub - 8base/vue-8base-starter-app: A VueJS App that's already setup to connect with 8base Authentication and GraphQL API 🎉 readme for more info!

1 Like