like-gold
like-gold•2y ago

Invoice Generator with Refine and Strapi - Login Problem

Hi, I am a newbie in react, so I was getting hands dirty with this example [https://refine.dev/blog/refine-react-admin-invoice-genarator/] and i have created a "strapi" application which is running on "http://localhost:1337/" and my invoice-generator app is running on "http://localhost:3000/" successfully. But i don't know how to log in with what credentials in the invoice-generator app, Can you please guide me through this?
No description
No description
9 Replies
Omer
Omer•2y ago
Hey @Abdul-Qayyum , Welcome, we are glad to see you 🎯 You can create a user by following this document https://docs.strapi.io/user-docs/latest/users-roles-permissions/managing-end-users.html
Managing End-Users Accounts - Strapi User Guide
Instructions to manage the end-users of a front-end application with the Users & Permissions plugin.
like-gold
like-gold•2y ago
Thanks. i just created a new user and tried again but still getting the same error.
No description
like-gold
like-gold•2y ago
No description
Omer
Omer•2y ago
Could you share your network log/response of the login request?
like-gold
like-gold•2y ago
No description
like-gold
like-gold•2y ago
No description
like-gold
like-gold•2y ago
Nothing in response
No description
like-gold
like-gold•2y ago
I got it. i was using https in API_URL = "https://localhost:1337". I just changed it to http (API_URL = "http://localhost:1337") and it works.
Omer
Omer•2y ago
cool 🚀