Commit Graph

11 Commits

Author SHA1 Message Date
dependabot[bot]
c1bb77923e chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /examples/auth/nextjs
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 17:31:47 +00:00
Jon Meyers
faec20853c revert set versions for package.json 2023-06-23 21:25:34 +10:00
Jon Meyers
e5e007cadd update example apps 2023-06-23 21:04:50 +10:00
Jon Meyers
a30a697ad2 add sitemap.ts 2023-06-14 10:22:41 +10:00
Jon Meyers
e569e34ec4 use stable version of auth-helpers-nextjs package 2023-05-28 23:24:30 +10:00
Jon Meyers
b290c64b6b update official next.js auth handlers example 2023-05-25 10:16:30 +10:00
Alaister Young
4bdef60e09 Merge branch 'master' into chore/switch-to-slash-dashboard 2023-05-23 17:11:44 +10:00
Khalifa Fumo
1b97e659e0 Update middleware.ts to check if user is logged in
I was experiencing an issue where I could not protect my routes within my Next.js 13 (app) app. I searched for a fix everywhere but the app router being a new development, I did not find any help, even within the supabase docs, so I set out to trying a fix for myself and I found this to work perfectly. You can now protect your routes such that only logged in users can access some pages. You can also configure the config such that the middleware is set to run (or not to run) on selected pages.
2023-05-14 18:28:20 +03:00
Alaister Young
9cdeb4fddb chore: switch to /dashboard 2023-05-11 22:34:22 +10:00
patelmilanun
376a2f0d19 fix : correct api path in auth/nextjs example #13493
Because we are using next js 13 in this example and the redme contain code from older version of next js
2023-04-07 01:17:11 +05:30
Jon Meyers
cfe4d635d3 add nextjs auth example 2023-03-15 20:27:17 +11:00