legacy-web-dashboard icon indicating copy to clipboard operation
legacy-web-dashboard copied to clipboard

Not able to proceed further after launching of web dashboard

Open deshshiv opened this issue 7 years ago • 15 comments

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

  1. Step
  2. Step
  3. Step

References

  • Links

Screenshots

deshshiv avatar Sep 26 '17 08:09 deshshiv

tried all the way again but still it is saying missing parameter app_token

deshshiv avatar Sep 26 '17 11:09 deshshiv

error_note

deshshiv avatar Sep 26 '17 12:09 deshshiv

config js

deshshiv avatar Sep 26 '17 12:09 deshshiv

@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

ajsb85 avatar Sep 26 '17 12:09 ajsb85

yes I just installed telegram how can we get in touch

deshshiv avatar Sep 26 '17 13:09 deshshiv

@deshshiv Join us with this deeplink: https://t.me/flyvemdmdev

ajsb85 avatar Sep 26 '17 13:09 ajsb85

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.!

deshshiv avatar Oct 29 '17 09:10 deshshiv

please check the message in the upper right corner of the image provided.!

deshshiv avatar Oct 29 '17 10:10 deshshiv

30859305-b6e4fdf4-a2e0-11e7-9936-25a311caa310

deshshiv avatar Oct 29 '17 10:10 deshshiv

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 ?

deshshiv avatar Oct 29 '17 10:10 deshshiv

Remove app_token in the config.js Its not needed

ajsb85 avatar Oct 29 '17 10:10 ajsb85

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

deshshiv avatar Oct 30 '17 12:10 deshshiv

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).

btry avatar Nov 20 '17 16:11 btry

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

krishnavm28 avatar Nov 28 '17 06:11 krishnavm28

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.

btry avatar Nov 28 '17 07:11 btry