supabase-community/supabase-csharp

Use Stateless Client for administrative app

stopyellingatme opened this issue · 4 comments

There are instances when a user needs to be signed up without updating the session storage (admin panel generating users).

if an option could be added to the SignUpOptions.cs file and a conditional added to the Client.cs file, then I think that would fix the issue.

Screenshot 2023-10-02 at 22 40 23 Screenshot 2023-10-02 at 22 41 17

It's close! But StatelessClientOptions does not have an easy way to set Headers so It will be missing the apikey.
I also found this https://github.com/supabase-community/gotrue-csharp where they talk about StatelessClientOptions as well.
However, passing options like demonstrated causes an error because of the missing apikey header.
Id like to be able to do something like this.
Screenshot 2023-10-03 at 09 17 13

Shoot, that did work! Thank you for your help and attention. I really appreciate it.