Skip to content

Commit

Permalink
add Dummy email sender info to guided tour
Browse files Browse the repository at this point in the history
  • Loading branch information
vincanger committed May 24, 2024
1 parent 7325402 commit 0c7f380
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*/.wasp/
*/.env.server
*/.env.client
*/node_modules
*/.DS_Store
.DS_Store

Expand Down
4 changes: 0 additions & 4 deletions app/.gitignore

This file was deleted.

16 changes: 14 additions & 2 deletions blog/src/content/docs/start/guided-tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,21 @@ By defining the auth structure in your `main.wasp` file, Wasp manages all the ne

<!-- TODO: add pic of AuthUI components -->

We've set the template up with Wasp's `email`, `google`, and `gitHub`, methods, which are all battle-tested and suitable for production.
We've set the template up with Wasp's `email`, `google`, and `gitHub` methods, which are all battle-tested and suitable for production.

You'll notice that `google` and `gitHub` methods are pre-configured but commented out. If you'd like to use these configurations in your app, make sure to check out the [Authentication Guide](/guides/authentication) which gives you details on obtaining necessary API keys and integrations.
You can get started developing your app with the `email` method right away! Note that this method relies on an `emailSender` (configured at `app.emailSender` in the `main.wasp` file), a service which sends emails to verify users and reset passwords. For development purposes, Wasp provides a `Dummy` email sender, which does not actually send any confirmation emails to the specified email address, but instead logs all email verification links/tokens to the console! You can then follow these links to verify the user and continue with the sign-up process.

```tsx title="main.wasp"
emailSender: {
provider: Dummy, // logs all email verification links/tokens to the server's console
defaultFrom: {
name: "Open SaaS App",
email: "me@example.com"
},
},
```

We will explain more about these auth methods, and how to properly integrate them into your app, in the [Authentication Guide](/guides/authentication).

### Subscription Payments with Stripe

Expand Down

0 comments on commit 0c7f380

Please sign in to comment.