Giter Site home page Giter Site logo

Delete User Account about gotrue-dart HOT 4 CLOSED

supabase avatar supabase commented on August 28, 2024 2
Delete User Account

from gotrue-dart.

Comments (4)

dshukertjr avatar dshukertjr commented on August 28, 2024 1

Hi @MateusAmin!

Thank you for opening this issue! Just to get a bit more context, what is the reason why you need this feature?

It looks like the end point for deleting a user needs service_role or supabase_admin, which means it can only be called from a backend. Are you using Dart as your backend right now?

It looks like the JavaScript library might be separated into two libraries, one for client side and one for server side as discussed here, so I'm thinking maybe it's better to wait for that to happen and if there are folks using Dart on the server side, create something like a supabase-admin-dart library and include this feature there.

Would like to hear what you think @phamhieu .

from gotrue-dart.

MateusAmin avatar MateusAmin commented on August 28, 2024 1

Hi dshukertjy,

Thanks for following up. We are making an education application and wanted people to be able to remove their accounts. Not super important but we always hate it when we can't delete our own accounts on random sites.

Yeah, we are using Dart as our back-end. Seems like it is speeding up development so far.

Splitting the two libraries seems very ergonomic. I like the idea. Perfectly fine with this not getting merged if that is what you are going for.

from gotrue-dart.

dshukertjr avatar dshukertjr commented on August 28, 2024

Thanks @MateusAmin for your quick reply!

Wow, it's amazing that you are using Dart as your backend! I think it's my first time talking to someone who is doing that! Do you use something like aqueduct.io?

I want to hear what @phamhieu whether to wait for the js library splitting up, or just add this and split the dart library later on, so if you could hold on for now, it would be greatly appreciated! Thank you for your patients.

from gotrue-dart.

phamhieu avatar phamhieu commented on August 28, 2024

Hi @MateusAmin, It will be faster to send the delete request to gotrue server from your backend api than waiting for a new library.

Let me know if you have any problem doing that. And i'm keen to hear more about your education app.

from gotrue-dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.