Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pnzrr committed Aug 16, 2023
1 parent a2a96b7 commit be83002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/2023-08-14-secure-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This example uses Next.js 13 and splits `server` and `client` components accordi
</AuthProvider>
```

At this point our entire applicationw will be able to access all information and methods needed to perform authentication. View the `providers.tsx` file for additional information about how the `SessionProvider` is used. The `SessionProvider` enables use of Hooks to derive the authenticated state. View `user.component.tsx` for exactly how the code is authenticating your user. The sections rendering the "Log in" and "Log out" buttons are conditional areas based on the authenticated context. The buttons invoke fuctions provided by NextAuth.
At this point our entire application will be able to access all information and methods needed to perform authentication. View the `providers.tsx` file for additional information about how the `SessionProvider` is used. The `SessionProvider` enables use of Hooks to derive the authenticated state. View `user.component.tsx` for exactly how the code is authenticating your user. The sections rendering the "Log in" and "Log out" buttons are conditional areas based on the authenticated context. The buttons invoke functions provided by NextAuth.

The logic using the hook to conditionally determine the Authenticated state, can be used to secure routes, components, and more.

Expand Down

0 comments on commit be83002

Please sign in to comment.