* Update NextJS example to use new SSR methods
* Remove Debug message
* Double quote imports and set supabase package versions to latest
* missed a file
* update flutter quick start and example app to use flutter v2
* update examples and blog articles to use Flutter SDK v2
* fix versions used in examples
* update image picker to 1.0.5
* minor code refactor for sample code
* update example google sign in app
* update flutter google sign in example
* update flutter auth blog post to add skip nonce check content
* update google sign in guide to include skip nonce check content
* minor update on the code sample for google auth guide
* delete unused code from code sample
* minor update of the blog writing
* blog article refactor
* minor format fix
* Update apps/docs/pages/guides/auth/social-login/auth-google.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update apps/docs/pages/guides/auth/social-login/auth-google.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update apps/docs/pages/guides/auth/social-login/auth-google.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* Update apps/www/_blog/2023-07-18-flutter-authentication.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* fix typo
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* update Flutter Google login example to use google_sign_in package
* update build.gradle to support multidex
* compatible with native google login
* update comments
* update readme of sample app
* fix the blog to use the new flow
* update google login guide for Flutter to use the new flow
* Add an intro line for Flutter native google auth guide
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.