Skip to content

Commit dd1d26e

Browse files
committed
docs: update auth part
1 parent cef2154 commit dd1d26e

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ pnpm run dev
6161
6262
> [!WARNING]
6363
> You need update `.react-email` folder before use `pnpm run email`. Check the link [here](https://github.com/resend/react-email/issues/868#issuecomment-1828411325) if you have the error : `renderToReadableStream not found`
64-
>
65-
> After upgrade Auth.js to v5: `NEXTAUTH_URL` has removed from `.env.example`.
66-
6764
6865
## Roadmap
6966

@@ -76,7 +73,6 @@ pnpm run dev
7673
- [x] ~Switch subscription plan (enable on stripe dashboard)~
7774
- [x] ~Update documentation for installation & configuration~
7875
- [ ] Improve blog design
79-
- [ ] Improve dashboard design
8076
- [ ] Upgrade eslint to v9
8177
- [ ] Add resend for success subscriptions
8278

content/docs/configuration/authentification.mdx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ description: How to config the authentification.
1010
you want.
1111
</Callout>
1212

13+
<Callout type="danger" twClass="mt-3">
14+
After upgrade Auth.js to v5: `NEXTAUTH_URL` has removed from `.env` file. Same
15+
thing **in production**.
16+
</Callout>
17+
1318
## Update auth_secret variable
1419

1520
The only environment variable that is mandatory is the `AUTH_SECRET`. This is a random value used by the library to encrypt tokens and email verification hashes. You can generate one via running:
@@ -51,6 +56,9 @@ Watch a youtube video from [CodeWithAntonio](https://www.youtube.com/@codewithan
5156
- GoogleAuth **local** config at [3:24:30](https://www.youtube.com/watch?v=1MTyCvS05V4&t=12270s)
5257
- Update GoogleAuth after **deployment** at [7:52:31](https://www.youtube.com/watch?v=1MTyCvS05V4&t=12270s)
5358

54-
<Callout type="warning">
55-
The auth part is similar at the [authjs](https://authjs.dev/) documentation.
56-
</Callout>
59+
### Google config for this repo
60+
61+
<img
62+
className="mt-4 overflow-hidden rounded-lg border"
63+
src="/images/docs/gg-auth-config.jpg"
64+
/>

public/images/docs/gg-auth-config.jpg

60.3 KB
Loading

0 commit comments

Comments
 (0)