Skip to content
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

feat: add create auth user migration function #3979

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iSCJT
Copy link
Contributor

@iSCJT iSCJT commented Nov 3, 2024

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix (fixes an issue)
  • Feature (adds functionality)
  • Code style update
  • Refactoring (no functional changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

What is the current behavior?

N/A

What is the new behavior?

Adds a function that is triggered whenever a new user is created. Function makes an api call to the migration api which then handles either updating or creating a supabase auth user.

Disabled for production. Api key has been added to config for the dev firebase projects.

Does this PR introduce a breaking change?

  • Yes
  • No

Git Issues

Closes #

What happens next?

Thanks for the contribution! We try to make sure all PRs are reviewed ahead of our monthly maintainers call (first Monday of the month)

If the PR is working as intended it'll be merged and included in the next platform release, if not changes will be requested and re-reviewed once updated.

If you need more immediate feedback you can try reaching out on Discord in the Community Platform development channel.

@iSCJT iSCJT requested a review from a team as a code owner November 3, 2024 00:23
Copy link

cypress bot commented Nov 3, 2024

onearmy-community-platform    Run #6503

Run Properties:  status check passed Passed #6503  •  git commit ea8c4d7b28: fix: add missing migration node to function runtime config file
Project onearmy-community-platform
Branch Review feat/auth-user-function
Run status status check passed Passed #6503
Run duration 04m 56s
Commit git commit ea8c4d7b28: fix: add missing migration node to function runtime config file
Committer Sean Thompson
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 75
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 💬 Changes Requested/with author
Development

Successfully merging this pull request may close these issues.

2 participants