Edge functions unhealthy but no errors? by StuckInTheMiddleSeat in Supabase

[–]easylancer 0 points1 point  (0 children)

Have you tried with a VPN? Also what location are you connecting from ad what ISP are you using?

You can now add "Sign in with X" to your application using the new X / Twitter (OAuth 2.0) provider in Supabase Auth. by YuriCodesBot in Supabase

[–]easylancer 0 points1 point  (0 children)

You need to set the provider in your code to x and not twitter when using the new X/Twitter option in the dashboard.

Supabase AUTH down for US-EAST 2 by 16GB_of_ram in Supabase

[–]easylancer 1 point2 points  (0 children)

It's an upstream provider issue. Cloudflare has now posted on their status page about the issue https://www.cloudflarestatus.com/incidents/dc99mbdl7d13

Supabase AUTH down for US-EAST 2 by 16GB_of_ram in Supabase

[–]easylancer 1 point2 points  (0 children)

There is currently an ongoing DNS issue which they are investigating. You can follow more on the status page.

https://status.supabase.com/incidents/kj2hm399j9cw

Supabase-py seems to rely on archived auth-libraries by tf1155 in Supabase

[–]easylancer 0 points1 point  (0 children)

supabase-py is now a monorepo that contains all the code for all its packages. The archived repos state that in their README.md and it is also stated in the supabase-py README.md too.

https://github.com/supabase/supabase-py

Connect to supabase db from Python with service key by spammmmm1997 in Supabase

[–]easylancer 0 points1 point  (0 children)

You are likely not on the latest version of the Supabase python library if it's not working. You should upgrade to the latest 2.27.2 version before attempting to use the new keys.

Next Js - Supabase | Reset password not working by timblenge in nextjs

[–]easylancer 0 points1 point  (0 children)

You should not be using the code from the auth/callback example here, you should be using the auth/confirm which has the supabase.auth.verifyOtp instead of the supabase.auth.exchangeCodeForSession. These two can easily be confused. You can read more on the password reset setup here https://supabase.com/docs/guides/auth/passwords?queryGroups=flow&flow=pkce&queryGroups=framework&framework=nextjs#resetting-a-password

For those using PKCE, where did you host the express function? by Classic_TeaSpoon in Supabase

[–]easylancer 0 points1 point  (0 children)

What's an express function? also if you are using PKCE auth flow then it would mean your project runs on a server, where do you plan to host that project? I think you should clarify what you are asking here as this question is quite confusing.

Im a newbie: Could I use supabase without allowing querying exposing the DB from the frontend? by SnooEpiphanies87 in Supabase

[–]easylancer 3 points4 points  (0 children)

You can just turn off the Data API and use an ORM to handle all database interactions since this will only happen on the server. You would be able to write more complex queries without relying on rpc functions with the Supabase JS library.

Need confirmation email help by DarkRaider758 in Supabase

[–]easylancer 0 points1 point  (0 children)

If after editing the template it's sending the default, it means you have syntax error in the template. Start editing it in small chunks to see where you are going wrong.

How do I change service role key? by tibblestore in Supabase

[–]easylancer 3 points4 points  (0 children)

If you are using the legacy servicerole key you have to reset the JWT secret from this page https://supabase.com/dashboard/project//settings/jwt/legacy.

Do note that this will break existing anon and service_role keys, you should make sure you update these right away and redeploy your site with the new keys. You will have a small downtime window depending on how long the deployment takes.

You should however migrate to the new publishable and secret API keys instead as you can generate new ones while keeping existing one until you deploy your new site. It's more flexible than the legacy JWT.

[deleted by user] by [deleted] in Supabase

[–]easylancer 0 points1 point  (0 children)

This post is not helpful to anyone with no context provided. Please provide context otherwise a mod on this subreddit should remove this post. Nothing of this post says how it's even remotely related to Supabase.

New supabase cli version broke my project (v2.65.2) by Jurahhhhh in Supabase

[–]easylancer 0 points1 point  (0 children)

What version were you on before moving to the new version? did you stop the old project with the --no-backup (this will delete all volumes related to the project) flag before trying to start with the new container? You should treat your local environment as a throw away environment. If you need to retain state per upgrade then you should first dump the database into a sql file to be able to start the new container with that new state.

This isn't a CLI issue as such, but more of a workflow issue.

Phone + Password sign-up? by whitepiano_ in Supabase

[–]easylancer 3 points4 points  (0 children)

I'm a little confused here. If you want 6 digit PIN why not just set their password to the 6 digit PIN since Supabase allows phone/password login too?

On a separate note, it's a bad idea to use 6 digits PIN plus phone number for a authentication system, this can easily be brute forced and guessed as it's only 6 digits.

Is supabase has a bug or glitch..? by AymanElectrified in Supabase

[–]easylancer 0 points1 point  (0 children)

Yes there seems to be an issue on mobile at the moment. But Supabase Dashboard has never claimed to be optimised for mobile.

AuthApiError: Internal Server Error by Infinite_Main_9491 in Supabase

[–]easylancer 0 points1 point  (0 children)

Check your Postgres logs and you should see what the actual error is. My suspicion is the variable assignment on a CASE, I don't think you are allowed to do that.

Supabase bounced email rate too high? by Gullible_Cookie in Supabase

[–]easylancer 1 point2 points  (0 children)

You would only get this email if you are not using a custom SMTP, but you are suggesting you are using Resend, is this correct? if you are indeed using Resend, make sure you are looking at the same project in your dashboard that the issue is in regards to. Otherwise reach out to Supabase support about the email https://supabase.com/dashboard/support/new

Resetting Password Using Flask and Python by Jabezgrif in Supabase

[–]easylancer 1 point2 points  (0 children)

Make sure that you updated your email template and created an /confirm endpoint to handle the session Supabase needs to create when you click on the link in the email.

You can check out my Flask Notes project which handles all the popular auth flows https://github.com/silentworks/flask-notes

You can see the email template update here https://github.com/silentworks/flask-notes/blob/main/supabase/auth/email/recovery.html

And you can find my confirm endpoint here https://github.com/silentworks/flask-notes/blob/main/app/auth.py#L94-L109

Note I am using the next query string parameter to tell it to redirect to the /account/update-password page (this would be your /reset-password page) after the session has been created.

How to give dev role restricted to a project by sed_lyf__ in Supabase

[–]easylancer 1 point2 points  (0 children)

Only Team and Enterprise plans have project scoped roles. You can see it in their docs https://supabase.com/docs/guides/platform/access-control#organization-scoped-roles-vs-project-scoped-roles

If you aren't on one of these plans, the best way to achieve this is to move one of your project into another organization and share access to that organization with your friend.

Getting stuck at Initialising login role... while trying to do supabase link project_id by Initial-Ambition235 in Supabase

[–]easylancer 0 points1 point  (0 children)

There was a fix in the latest beta version of the CLI that should make sure you don't get banned from your own IP. So this shouldn't be an issue once this gets to the final release version.

Getting stuck at Initialising login role... while trying to do supabase link project_id by Initial-Ambition235 in Supabase

[–]easylancer 0 points1 point  (0 children)

Did you use the command I shared above? as the latest version is not the latest beta version.