issues
search
haseakito
/
funbase
Next generation creators economy platform website
https://funbase.vercel.app
2
stars
0
forks
source link
Add Authentication `middleware.ts` with `NextAuth`
#20
Closed
haseakito
closed
10 months ago
haseakito
commented
10 months ago
Issue
Reduce the workload of checking and implementing user session for every single protected page.
Requirements
Add
middleware.ts
to the root of the project
Follow the
NextAuth Middleware with Nextjs documentation
Modify the
mather
in config to routes to protect such as
profile
etc
Issue
Requirements
middleware.ts
to the root of the projectmather
in config to routes to protect such asprofile
etc