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
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...
- Charged after Downgrade
I downgraded from the pro plan last month, but itโs still trying to charge my card this month and my account has been restricted
- Wifi issue with Pop!_OS linux distro
Hey guys... iam facing this very peculiar trouble with my linux distro... I use Pop!_OS on my HP victus gaming laptop with nvedia 2050 graphics card.... The pro...