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
Omer2y 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.
harsh-harlequin
harsh-harlequin2y ago
Thanks. i just created a new user and tried again but still getting the same error.
No description
harsh-harlequin
harsh-harlequin2y ago
No description
Omer
Omer2y ago
Could you share your network log/response of the login request?
harsh-harlequin
harsh-harlequin2y ago
No description
harsh-harlequin
harsh-harlequin2y ago
No description
harsh-harlequin
harsh-harlequin2y ago
Nothing in response
No description
harsh-harlequin
harsh-harlequin2y 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
Omer2y ago
cool 🚀