legacy-web-dashboard
legacy-web-dashboard copied to clipboard
Not able to proceed further after launching of web dashboard
Description
after following all the given necessary steps i am able to launch the UI @ localhost:9001 that is after grunt serve it is automatically redirecting me to the web interface and able to see the dashboard but when I am trying to register new user with the option provided it is not proceeding further. Errror message is unable find app_token . You have not mentioned it where to store the app_token I tried to store in config.js but not working.
please help me to resolve the issue.
my config.js file is as follows
angular.module('FlyveMDM') // url of the GLPI api .constant('GLPI_API_URL', 'http://localhost/glpi/apirest.php/') // this is the glpi/flyve api_key which is used to save glpi/flyve users .constant('USER_TOKEN', '9n52jklzrl5c40k5th2kvtmsn481v17rq460kcuy')
//.constant('USER_TOKEN', 'gzsyl6dyhdm6aqmqw3y522cpsgzu9cxl04qnjngb') //.constant('APP_TOKEN', 'ys9wimrsrd1wd6xdgn92fbkyofrv193ptkcjad78') //.constant('GLPI_APP_TOKEN', 'ys9wimrsrd1wd6xdgn92fbkyofrv193ptkcjad78') //.constant('app_token', 'ys9wimrsrd1wd6xdgn92fbkyofrv193ptkcjad78')
// Debugging option .constant('DEBUG', false) //The unique id of the current build that GitLab CI uses internally .constant('BUILD_ID', 0); ~
Expected behavior
to be registered with the same and proceed further
Actual behavior
stucked at sign up page
Environment Details
- Web UI version: flyveMDM-web-dashboard- 2.0.0
- GLPi version: GLPI-9.1.2
- Browser Type: Mozilla firefox
- Browser Version: 55.0.2
- OS: ubuntu 16.04
my flyvemdm glpi plugin is 1.1.1 & fusion inventory is 9.1.1.1
- Stack Traces:
- Angular Version:
- Angular Material Version:
Steps to reproduce the behaviour
- Step
- Step
- Step
References
- Links
Screenshots
tried all the way again but still it is saying missing parameter app_token
@deshshiv Hi!
Here 2 examples:
- http://flyve.org/config.js
- https://demo.flyve.org/config.js
Do you have Telegram?
Join us: https://t.me/flyvemdmdev
yes I just installed telegram how can we get in touch
@deshshiv Join us with this deeplink: https://t.me/flyvemdmdev
still I am not able to interface the web application with glpi_mdm plugin as it is requesting me for app_token..!
Please help me out to resolve the issue.!
please check the message in the upper right corner of the image provided.!
I am not able to register new user or any other activity with web dashboard ui. can you please tell me where to add this app_token ?
Remove app_token in the config.js Its not needed
yup it is commented ...!
I was trying to resolve with some trial and errors..!
still it is asking me for app_token..! after removing it as well.
stucked alex please help me out
Hi @deshshiv
I'm sorry answering so late.
I'm reading your issue and I'm suspecting you're trying to register a new user with the sign up button of the dashboard.
This use case is fir the demo platform. As you built your instance yourself, I'm suspecting that you did not installed the Flyve MDM demo plugin. It is required for the sign up button.
To login, please use your credentials glpi (default password is glpi).
Hi I am unable to install flyve MDM demo plugin after adding in the glpi plugins. it is not appear in the glpi-> plugins options to install and enable. and also not able to login using credentials glpi and passworad glpi
Hi
The folder containing the demo plugin must be named flyvemdmdemo. Please check it.
An extra note: if you want to setup your instance of Flyve MDM, you probably don't need this plugin. It is intended to run with the demo server. It mainly provides a way for someone to self create a user account. When you in your own instance you got an access with the super admin user named glpi.