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
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yetโฆ About an hour ago one of the interns from o...
- proccessing problems
A database schema operation is stuck in my Frankfurt project. In the matryq database, the workspaceId attribute of the coaching_activity_entries collection rema...
- User columns stuck on processing
Hi โ on Appwrite Cloud (Free), Project ID 69d7dd8200098ed8560c, database mylestone-db. Attributes/columns are stuck in "processing" indefinitely across two coll...