Skip to content

Commit 5398b6f

Browse files
macarthurorTomWFox
andcommitted
custom pages example and an email adapter is added (#5838)
* custom pages example and an email adapter is added * npm link of email adapter * spelling and grammar changes Co-Authored-By: Tom Fox <[email protected]> * spelling changes Co-Authored-By: Tom Fox <[email protected]>
1 parent 2e0940c commit 5398b6f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ The full documentation for Parse Server is available in the [wiki](https://githu
3232
- [Basic Options](#basic-options)
3333
- [Client Key Options](#client-key-options)
3434
- [Email Verification & Password Reset](#email-verification-and-password-reset)
35+
- [Custom Pages](#custom-pages)
3536
- [Using Environment Variables](#using-environment-variables-to-configure-parse-server)
3637
- [Available Adapters](#available-adapters)
3738
- [Configuring File Adapters](#configuring-file-adapters)
@@ -288,6 +289,7 @@ var server = ParseServer({
288289
```
289290

290291
You can also use other email adapters contributed by the community such as:
292+
- [parse-smtp-template (Multi Language and Multi Template)](https://www.npmjs.com/package/parse-smtp-template)
291293
- [parse-server-postmark-adapter](https://www.npmjs.com/package/parse-server-postmark-adapter)
292294
- [parse-server-sendgrid-adapter](https://www.npmjs.com/package/parse-server-sendgrid-adapter)
293295
- [parse-server-mandrill-adapter](https://www.npmjs.com/package/parse-server-mandrill-adapter)
@@ -298,6 +300,27 @@ You can also use other email adapters contributed by the community such as:
298300
- [simple-parse-smtp-adapter](https://www.npmjs.com/package/simple-parse-smtp-adapter)
299301
- [parse-server-generic-email-adapter](https://www.npmjs.com/package/parse-server-generic-email-adapter)
300302

303+
### Custom Pages
304+
305+
It’s possible to change the default pages of the app and redirect the user to another path or domain.
306+
307+
```js
308+
var server = ParseServer({
309+
...otherOptions,
310+
311+
customPages {
312+
passwordResetSuccess: "http://yourapp.com/passwordResetSuccess",
313+
verifyEmailSuccess: "http://yourapp.com/verifyEmailSuccess",
314+
parseFrameURL: "http://yourapp.com/parseFrameURL",
315+
linkSendSuccess: "http://yourapp.com/linkSendSuccess",
316+
linkSendFail: "http://yourapp.com/linkSendFail",
317+
invalidLink: "http://yourapp.com/invalidLink",
318+
invalidVerificationLink: "http://yourapp.com/invalidVerificationLink",
319+
choosePassword: "http://yourapp.com/choosePassword"
320+
}
321+
})
322+
```
323+
301324
### Using environment variables to configure Parse Server
302325

303326
You may configure the Parse Server using environment variables:

0 commit comments

Comments
 (0)