Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Login #12

Closed
chassrouny opened this issue Feb 26, 2016 · 1 comment
Closed

Can't Login #12

chassrouny opened this issue Feb 26, 2016 · 1 comment

Comments

@chassrouny
Copy link

Hello,

Finished running Fusio successfully. But I can't use the username and password created and generated using the php bin/fusio adduser command, http://localhost/fusio/public/backend.htm replies with Authentication failed
I tried to inspect the page. An error occurred:
POST http://localhost/index.php/backend/token 404 (Not Found)(anonymous function) @ fusio.min.js:125m @ fusio.min.js:121f @ fusio.min.js:118(anonymous function) @ fusio.min.js:150m.$eval @ fusio.min.js:164m.$digest @ fusio.min.js:161m.$apply @ fusio.min.js:165(anonymous function) @ fusio.min.js:255c @ fusio.min.js:70

Please Help
Thanks in advance

@chriskapp
Copy link
Member

Hi, the problem is probably that the backend app cant determine the correct fusio API url. You could open the file "backend.htm" with an editor and hardcode the endpoint url i.e.:

var fusio_url = 'http://localhost/fusio/public/index.php/';

Then if you login the request should go to http://localhost/fusio/public/index.php/backend/token which should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants