Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: make gotrue endpoints linkable in docs

awalias5c552b1658b2
diff --git a/web/docs/gotrue/server/about.md b/web/docs/gotrue/server/about.md
index 3d6c99e8e58..dd0488c4336 100644
--- a/web/docs/gotrue/server/about.md
+++ b/web/docs/gotrue/server/about.md
@@ -315,7 +315,7 @@ Default Content (if template is unavailable):
GoTrue exposes the following endpoints:
-* **GET /settings**
+### **GET /settings**
Returns the publicly available settings for this gotrue instance.
@@ -332,7 +332,7 @@ GoTrue exposes the following endpoints:
}
```
-* **POST /signup**
+### **POST /signup**
Register a new user with an email and password.
@@ -355,7 +355,7 @@ GoTrue exposes the following endpoints:
}
```
-* **POST /invite**
+### **POST /invite**
Invites a new user with an email.
This endpoint requires the `service_role` or `supabase_admin` JWT set as an Auth Bearer header:
@@ -386,7 +386,7 @@ GoTrue exposes the following endpoints:
}
```
-* **POST /verify**
+### **POST /verify**
Verify a registration or a password recovery. Type can be `signup` or `recovery` or `invite`
and the `token` is a token returned from either `/signup` or `/recover`.
@@ -412,7 +412,7 @@ GoTrue exposes the following endpoints:
}
```
-* **GET /verify**
+### **GET /verify**
Verify a registration or a password recovery. Type can be `signup` or `recovery` or `magiclink` or `invite`
and the `token` is a token returned from either `/signup` or `/recover` or `/magiclink`.
@@ -436,7 +436,7 @@ GoTrue exposes the following endpoints:
You can use the `type` param to redirect the user to a password set form in the case of `invite` or `recovery`,
or show an account confirmed/welcome message in the case of `signup`, or direct them to some additional onboarding flow
-* **POST /magiclink**
+### **POST /magiclink**
Magic Link. Will deliver a link (e.g. `/verify?type=magiclink&token=fgtyuf68ddqdaDd`) to the user based on
email address which they can use to redeem an access_token.
@@ -457,7 +457,7 @@ GoTrue exposes the following endpoints:
when clicked the magic link will redirect the user to `<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=magiclink` (see `/verify` above)
-* **POST /recover**
+### **POST /recover**
Password recovery. Will deliver a password recovery mail to the user based on
email address.
@@ -476,7 +476,7 @@ GoTrue exposes the following endpoints:
{}
```
-* **POST /token**
+### **POST /token**
This is an OAuth2 endpoint that currently implements
the password and refresh_token grant types
@@ -522,7 +522,7 @@ GoTrue exposes the following endpoints:
}
```
-* **GET /user**
+### **GET /user**
Get the JSON object for the logged in user (requires authentication)
@@ -538,7 +538,7 @@ GoTrue exposes the following endpoints:
}
```
-* **PUT /user**
+### **PUT /user**
Update a user (Requires authentication). Apart from changing email/password, this
method can be used to set custom user data.
@@ -567,7 +567,7 @@ GoTrue exposes the following endpoints:
}
```
-* **POST /logout**
+### **POST /logout**
Logout a user (Requires authentication).
@@ -575,7 +575,7 @@ GoTrue exposes the following endpoints:
will still be valid for stateless auth until they expires.
-* **GET /authorize**
+### **GET /authorize**
Get access_token from external oauth provider
@@ -586,7 +586,7 @@ GoTrue exposes the following endpoints:
Redirects to provider and then to `/callback`
-* **GET /callback**
+### **GET /callback**
External provider should redirect to here