Neither example works, I tried various attempts, even exporting the variable and the running the login command, i also tried specifying the --token flag, but nothing works. I get the following error:
$ npx supabase login --token $SUPABASE_ACCESS_TOKENCannot use automatic login flow inside non-TTY environments. Please provide --token flag or set the SUPABASE_ACCESS_TOKEN environment variable.
$ npx supabase login --token $SUPABASE_ACCESS_TOKENCannot use automatic login flow inside non-TTY environments. Please provide --token flag or set the SUPABASE_ACCESS_TOKEN environment variable.
The variable SUPABASE_ACCESS_TOKEN is correctly set inside the Variables section. I can echo it and i get the correct value. I tried masking and unmasking it and it still does not work.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.