* Refactor login_page with a _showSnackBar function
* Add an onError block to onAuthStateChange
Errors get swallowed without this error handler, I noticed it when I had requested too many magic link emails, there was no feedback in the ui, nor in the logs in the console.
* Fix SnackBars not being displayed and add a _showSnackBar function
* Fix code samples for login_page.dart and account_page.dart to reflect fixes in #27104
* Fix isError not being passed for an Unexpected Error in login_page
* Update flutter user management example to a more modern code
* Update the guide to match the new content
* run formatter
* got rid of excess code and minor format fix
---------
Co-authored-by: dshukertjr <dshukertjr@gmail.com>
Fixed typescript bugs in code blocks of with-sveltekit.mdx
Now utilising the `satisfies` keyword instead of explicitly typing the exported functions.
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* docs: update sveltekit tutorial with new @supabase/ssr package
Related to issue #21851: Sveltekit guide still uses the old packages
* fix comment
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* rename 'web app tutorials' to 'web app demos'
* replace auth helper with server-side auth
* add more descriptive instructions
* fix small typos
* create a section on supabase utitlies
* update middleware section to include utilities
* update supabase auth ui to include the utilities
* add a login/signup form
* replace supabase auth ui section with a note
* update PCKE section to use /auth/confirm route instead of /auth/callback
* update Account Page section to use utilities and switch locations
* update Sign out section to use utilities
* update bonus section to include utilities
* minor fixes
* Apply suggestions from code review
* format
* format
* fix js examples
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
I noticed in the function to updateProfile the "avatar_url" was not using the passed in "avatarUrl" value.
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This will make the page load if not logged in and eliminate the following error message:
Error: NG04014: Invalid configuration of route '/': path cannot start with a slash
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>