akveo / ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
58 stars 32 forks source link

Can't create a new user and login using interface after downloading the backend bundle and following the docs included. #57

Open Torly217 opened 4 years ago

Torly217 commented 4 years ago

I purchased the Node.js MongoDB E-Commerce Bundle ‐ Personal license, downloaded the ZIP file and followed the instructions. When I ran http://localhost:4200, the login interface shows up. The instructions say in step 5: "create new user using interface and start working with app."

I created a new user and after it says "Hooray! You have been successfully registered" it directs me to the /pages/dashboard page and immediately routes back to the /auth/login page.

When I try to login, it says I have been successfully logged in, then redirects me to the login page again.

Some of the errors in the console include: GET https://bundle-demo-api.azurewebsites.net/api/users/current 401 (Unauthorized)

ERROR TypeError: Cannot read property 'forEach' of undefined

GET https://bundle-demo-api.azurewebsites.net/api/traffic-aggregated?filter=week 401 (Unauthorized)

GET https://bundle-demo-api.azurewebsites.net/api/user-activity?date=month 401 (Unauthorized)

GET https://bundle-demo-api.azurewebsites.net/api/orders-profit/summary 401 (Unauthorized) ...

The following link is a video of my screen when I attempt to log in (I just downloaded the ZIP file and I have not touched any of the code and followed the instructions):

https://www.loom.com/share/5bac3e67a7c0437f9ee90754c34d92ba