Not able to login using Github/Google signin
Describe the Problem
I am trying to build and run Onlook from the source. After running the command bun dev, I am redirected to the signup window (GitHub/Google authentication options).
However, when I click on either signup option, I encounter the error shown in the screenshot below. I am unsure how to resolve this issue and proceed with running the code successfully on my system.
Steps Taken
- Cloned the repository locally.
- Installed dependencies using bun install.
- Ran the development server with bun dev.
- Followed the redirection to the signup window, as expected.
- Encountered the error when selecting a signup option.
Screenshots
Signup Window
Error Message
Questions
- Are there additional steps or configurations needed to set up the backend (e.g., environment variables, database setup)?
- Do I need to configure Supabase or another service to handle authentication locally? If so, could you provide guidance on the setup?
- Is there a mock or development mode that allows me to bypass the authentication temporarily for local testing?
@abhayrsr supabase key is not available when you run the app using bun dev, it actually shows in the terminal as a supabase error. You could try using your own key.
But I think the best way to wrap around this would be to just install Onlook from the installer, login from it and close the app and then bun run dev the source code from GitHub to run the dev app, should work.
@Kitenite am I right?
Also, just a suggestion, you could just ask such queries in the Onlook discord server so someone can help you faster.
@abhayrsr , for building from source you can comment out your supabase tokens to run it in offline mode. This won't ask you to auth but won't have AI access. Alternatively, you can set up a Github App and set that up with Supabase
same problem for me, blocked on authentification interface
You should activate providers github and google in your supabase account first to get client IDs ans Client Secret