Solution skill
Is there RESTful API available for auth features of Supabase
Complete solution
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.
Evidence
Source: Stack Overflow #70719066 (accepted answer, 10 votes, 1 answers): We are trying out Supabase and found it awesome, especially about how easy it is to implement user authentication. So far we have been using the official JavaScript client library and everything we tried works (thumbs up to the devs!). Yet for some of our projects, we are using OCaml as the backend, which is not based on a JavaScript runtime. It seems that there exists client libraries for other native languages such as Go and Rust, and the official website documents RESTful API to access the database. I'd like to know if it is possible to integrate with the auth features provided by Supabas
Verified resolution: [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).
Source URL: https://stackoverflow.com/questions/70719066
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_5IH0B7coJt862uAxv9phQw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Is there RESTful API available for auth features of Supabase <span>— Vectle</span></a>