recreating same Thread
https://github.com/arifqayoom39/ecommerce_app.git
this is my Code
But if I restart the app & then login again My app is working Fine
What's the part?
Authentication Part!
Includes, Auth service, authprovider
Looks like your registering the user but not login it after registering.
Registration doesn't create a session by default
Yes the check the code after signup ... Again When I login This happens!
๐ค
it'll be best if you add some related code snippets instead of the repo link. Its much more helpful to someone reading the thread for the first time.
But After Restarting the app... After login its working fine
Looks like you're not passing the client to the account and database
No idea. Could be that
let me try If I can forward the code
If you find some fix after reading the repo.. Plz help!
Where is the client method located at?
constants file๐
But client .setEndpoint() .setProject()
appwrite_provider.dart
Why are you using a provider for that? ๐
make sure you have only one instance of Client. I just saw one Client in AuthProvider, another in AppwriteProvider.
Also, I think the providers are conflicting. I think It's better to have the client as a constant outside of a provider
ummm... I ll fix that For sure!... Can this solve?
Sure I will do the same & Update here in the thread if solved or not
[SOLVED] Current User is Not authorized
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- ISO help
Iโm writing a project specification paper. Please let me know if anyone has ISO/IEC/IEEE 29148:2018 โ Requirements Engineering, or if someone can check the docu...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?