You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: usage/tools/mongodb-crud-auth-backend.mdx
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: MongoDB CRUD Auth Backend
2
+
title: MongoDB CRUD & Auth Backend
3
3
description:
4
4
---
5
5
@@ -19,7 +19,10 @@ Here you will find four CloudCode tasks:
19
19
</Frame>
20
20
21
21
1.`generate_keys` - This is a task that can be used to generate a private/public key pair which the `jwks` and `token` tasks require.
22
-
This task does not expose an HTTP endpoint and should only be used for development and getting started.
22
+
23
+
<Warning>
24
+
This task does not expose an HTTP endpoint and should only be used for development and getting started.
25
+
</Warning>
23
26
2.`jwks` - This exposes an HTTP endpoint which has a `GET` function which returns the public JWKS details.
24
27
3.`token` - This task exposes an HTTP endpoint which has a `GET` function. This tasks is used by a PowerSync client to generate a token to validate against the PowerSync Service.
25
28
For more information about custom authentication setups for PowerSync, please see [this page](https://docs.powersync.com/installation/authentication-setup/custom) from the PowerSync docs.
0 commit comments