I read the official docs of appwrite, watched videos and read articles so I could be able to implement AppWrite authentication, but I wasn't able to. All efforts were not giving desired outcome for creating user account. I've been on this for days and it's slowing my project down, cause there's need to implement authentication.
I'll be glad if someone can help be sending a beginner friendly analysis of the code functionality and the implementation in a sign up and login ui so I can be able to follow suite.
sooo where are exactly are you stuck? what was the last thing you tried?
I initialized account and client and then pass in my project id and the url provided in the gitpod instance, I made sure it was running at that moment
then I passed a function that creates account to a TextField button for trigger, it didn't
I then did it manually by removing the function and placing it somewhere else but I made sure I called it and same thing
did you see any network call execute? flutter has a network logger in the dev tools that's helpful for logging network requests
did any error occur?
I didn't check
I just checked my appwrite dashboard to watch our if account was created
any error in your app? maybe the request wasn't even being sent
I didn't get app error
nothing in the logs client side?
What's your code?
which logs do you meant on flutter monitor or appwrite dashboard?
Besides my laptop is off currently Expecting power supply
flutter
I just did according to the documentation for Flutter email account creation
I didn't check there
But the app on my device didn't throw error either
please share the next time you're working on your app
No challenge, I will @Steven
I'm super grateful. I'm hoping to support appwrite when am able soon
I did this lately @Steven
this looks good so far (assuming endpoint and project are correct and your endpoint is a valid HTTPS or just HTTP)
I created a file for endpoint and id
I expected user account to be created, but non was
because that doesn't actually create the account 👀
ok, seems I left something behind
// this creates an Account service that you can use to make API calls
Account account = Account(client);
to create an account, you use the account service and call create:
final user = await account.create(
userId: ID.unique(),
email: 'me@appwrite.io',
password: 'password',
name: 'My Name'
);
I did create account service here
Recommended threads
- Disabling registration
Is it possible to disable registration in self hosted ?
- Relationship lists aren't showing
In flutter, when I perform a listRows function for my table which contains various relationships in addition to normal data, I am not getting the relationships ...
- coolify help
need some help when i updated the docker compose config on coolify to update appwrite to latest version my old versions project and organization was totally ina...