Best way to create users #8723
Unanswered
orestesgaolin
asked this question in
Question
Replies: 1 comment 1 reply
-
Thanks for finding our tutorials useful. We have elaborate examples of using "serverless functions" in our docs, which also includes some boilerplates: https://hasura.io/docs/latest/event-triggers/serverless/#why-use-serverless-functions Hope, that answers your question. We'll be happy to hear a successful outcome from your end. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found pretty cool authentication tutorial for Hasura and Firebase. It's relatively naive as the user accounts are being created by the client along with the sign up in Firebase Auth.
I'd like to take this example a step further by delegating the user data creation in Hasura somewhere else. My first guess is to use callable Google Cloud Functions. This would let me leverage the Firebase Authentication and decouple the registration process from the client implementation.
What do you think about this approach? How should I configure and authenticate my Cloud Function instance to perform mutations on the Hasura?
Beta Was this translation helpful? Give feedback.
All reactions