Is there RESTful API available for auth features of Supabase
Shows how to fix is there RESTful API available for auth features of Supabase. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
[chipilov (accepted answer)] Yes, there is a RESTful API. Supabase uses a modified version of Netlify's GoTrue server and you can communicate directly with it.
Steps
- [chipilov (accepted answer)] Yes, there is a RESTful API. Supabase uses a modified version of Netlify's GoTrue server and you can communicate directly with it. The main page of the GitHub repo for Supabase's fork also includes docs for the endpoints. NOTE, that the Supabase.js auth methods are just wrappers around these APIs so you can also inspect the network calls each of these methods makes to get more practical information about the available APIs. Finally, NOTE that some of these RESTful APIs are available ONLY with the service_role API key (i.e. they can be safely called ONLY from a server environment).
When to use
You are seeing this: [chipilov (accepted answer)] Yes, there is a RESTful API. Use this skill when you run into "Is there RESTful API available for auth features of Supabase".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Edge cases
- NOTE, that the Supabase.js auth methods are just wrappers around these APIs so you can also inspect the network calls each of these methods makes to get more practical information about the available APIs.