-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
staging to main - migration to supabase #593
Conversation
With: signup, login, password reset, change password, change email, change username
Use supabase in all hooks
Somehow the trigger function only works on sql console
The update of the username happens within the DB using triggers on the profile table. It did not work because the RLS did not allow the user to make changes to the trees_watered table on update
Move into smaller ones and add some styling
Was bound to auth0
@vogelino was right. I was wrong.
Remove all traces of auth0
Signed-off-by: Raphael Arce <raphael.arce@ts.berlin>
…g-on-email-duplicate
Also remove unused function and tests
…ng/giessdenkiez-de into feat/auth-via-supabase
According to git history this was added for auth0 It also broke all tests locally
Signed-off-by: Raphael Arce <raphael.arce@ts.berlin>
Signed-off-by: Raphael Arce <raphael.arce@ts.berlin>
Signed-off-by: Raphael Arce <raphael.arce@ts.berlin>
…y-form-not-shown
…e-types chore: Update database types
…lity with current jest setup Signed-off-by: Raphael Arce <raphael.arce@ts.berlin>
Signed-off-by: Raphael Arce <raphael.arce@ts.berlin>
I'm a little scared. Major rewrite
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
New dependency changes detected. Learn more about Socket for GitHub ↗︎ 🚨 Potential security issues found in this pull request. To accept the risk, merge this PR and you will not be notified again. Bot CommandsTo ignore an alert, reply with a comment starting with
📜 Install scriptsInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.
🫣 Native codeContains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs. Ensure that native code bindings are expected. Consumers may consider pure JS and functionally similar alternatives to avoid the challenges and risks associated with native code bindings. 🧌 Protestware/Troll packageThis package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.
Pull request alert summary
📊 Modified Dependency Overview:
🚮 Removed packages: @auth0/auth0-react@1.9.0, @trust/webcrypto@0.9.2, @types/auth0@2.33.1, deno_ls_plugin@0.1.0, typescript@4.6.3 |
This PR will remove Auth0.com as authentication provider and move all auth related logic to Supabase.com
Great thanks go to auth0.com for providing us with a free account for this project. Since we created giessdenkiez.de a lot of things have changed. Our skill-set and team grew a lot, we learned to use several other stacks. We moved away from AWS as provider for our prototypes (only S3 is still in use). We moved our tree database to Supabase. We moved to Next.js with the site and now we are leaving auth0.com in favor of supabase.com
This will make the stack we use way smaller and hopefully increase adoption.
WARNING: This is a BREAKING CHANGE and might introduce new bugs that we did not anticipate during development.