loggin error - al publicar la app tengo problemas de login

0
Cuando publico la app, habiendo seteada correctamente la seccion de seguridad, me figura el error de usuario o contraseña invalida. 
asked
2 answers
0

Did you create the user on the published environment? When publishing an app the local data is not automatically moved to the cloud environment.

(Google transalte: ¿Creaste el usuario en el entorno publicado? Al publicar una aplicación, los datos locales no se transfieren automáticamente al entorno de nube.)

answered
0

Hey Juan,

The MxAdmin user is not automatically created when you deploy your app as a Free App.

In licensed environments, the MxAdmin user is created the first time you set its password, for example via the Environment Details in Mendix Cloud.

If your Free App has never been deployed and its database has not yet been created, any data snapshot included in your app will be restored to the Free App’s database. You can use this process to add the MxAdmin user to your Free App by following these steps:

  1. In Studio Pro, go to App > Security.
  2. With Security level set to Production, open the Administrator tab.
  3. Change the default password of the administrator user.
  4. Run you app locally. This will create a local database that includes the MxAdmin user.
  5. Once your app is running locally, stop it again.
  6. Open Version Control > Add Snapshot of Data.
  7. Click Yes to confirm committing the new data snapshot.

Your app now includes a data snapshot.

  • If you deploy this app as a Free App for the first time, the snapshot will be restored to the Free App’s database.

  • If a database already exists for your Free App, the snapshot will not be restored.

Alternatively, you can sign in as an administrator to a Free App deployed to the cloud by following these steps:

  1. In Studio Pro, go to App > Security.
  2. With Security level set to Production, open the Demo users tab.
  3. Set Enable demo users to Yes.
  4. Add a demo_administrator having User role Administrator.
  5. Deploy your Free App to the cloud environment by clicking Publish.
  6. Log in using the demo-administrator and you can then create some user accounts.

 

Check official doc here: Free app

 

Best Regards,

Ricardo Pereira

answered