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?
9 Replies
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.
adverse-sapphireOP•3y ago
Thanks. i just created a new user and tried again but still getting the same error.
adverse-sapphireOP•3y ago
Could you share your network log/response of the login request?
adverse-sapphireOP•3y ago
adverse-sapphireOP•3y ago
adverse-sapphireOP•3y ago
Nothing in response
adverse-sapphireOP•3y 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.
cool 🚀