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
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...