Comments (4)
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.
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.
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.
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)
- Regexp with positive lookbehind are not fully supported by all browser
- Token is returned as URI fragment with a `#`, but is expected as query parameters HOT 4
- Update signUp to use named parameters HOT 1
- Callback of `onAuthStateChange()` is not called when `recoverSession()` is used HOT 8
- Need more information about oAuth2 HOT 8
- Change Provider enum to ProviderEnum in order to avoid name conflicts with riverpod HOT 2
- Apple sign in support? HOT 2
- Support native auth on mobile devices HOT 19
- "Current session is missing data" when restoring a phone user HOT 10
- Missing documentation in comparison to javascript HOT 3
- Implement setSession API from gotrue-js client
- Missing keys in User.toJson()
- currentSession.user is not updated in GoTrueClient.update()
- Release new version because gotrue:0.1.2 is not exporting gotrue_error.dart class HOT 1
- Wrong `Authorization` header is used when refreshing tokens HOT 1
- SignUp does not return Session/User object HOT 1
- type `Null` is not a subtype of type `Map<String, dynamic>` in type cast HOT 1
- No persist storage provided HOT 1
- Persistant user session HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotrue-dart.