How do you see the logging that I created?
I created loggings in my APIs, and I'm not sure where do I see it in Supabase
9 Replies
What are APIs in your context?
Supabase has logs for activity in the logs section of the dashboard.
the APIs are my own endpoints
specifically, on my auth callback code: https://gist.github.com/glaksmono/0153b5812453ab15d41d0581ddf9bec8
i added some logging
and on that
fetch(new URL('/api/snaptrade/register', request.url), {
API call, I also added some loggingSupabase is not involved with your client/server side code.
You can see the calls to Supabase in the API Gateway logs and log from Postgres functions or Edge functions.
So the console.logs you show in that link will all be in your development environment.
I'm trying to figure out why this doesn't get called
any advise on how do I see the logs?
That call is to your own code or some other api not to Supabase.
If you are using a framework you can maybe post that here, but it is really not a Supabase thing on how to get logs in your framework. Maybe some user has feedback for you for that framework.
ok I figured it out, I can see the log from Vercel
how do I get the user after they confirm the email?
Looks like you're using Next? Did you start with npx create-next-app -e with-supabase?
That should provide enough direction to get a working example going of how that should work