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
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, Iโm blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- [SOLVED] curl error Number: 6 โ function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...