Hi @Alexey
Thank you for your response.
I think there is something else going on. I mean, yes, the port could be an issue, but there is something more. I configured the backend on port 80 and still couldn't login.
I downloaded the desktop code and had to do some things. First I had to deactivate the update notification code because it is trying to access a URL that gives an error
diff --git a/app/src/base/config.js b/app/src/base/config.js
index e19e121..cfe0a14 100644
--- a/app/src/base/config.js
+++ b/app/src/base/config.js
@@ -133,7 +133,7 @@ configuration.updateNotification = {
* Notice that user preference "DISABLE" is overriding this value
* @type {Boolean}
*/
- enabled: (!process.windowsStore && !process.mas),
+ enabled: false, //(!process.windowsStore && !process.mas),
/**
* Base URL to retrieve releases manifest
Then the host validity check was failing saying that the auth/check-hostname endpoint did not exist, I looked for it in the backend and didn't see it so I just deactivated the check and the host name was accepted, but then the user login was not accepted. I see that the auth/authenticate endpoint doesn't exist either, so I changed it to auth/login, that didn't work either so I stopped there as I am obviously doing something wrong.
Thanks for any pointers.
diff --git a/app/renderer/js/components/auth/Login.vue b/app/renderer/js/components/auth/Login.vue
index 376ad79..753decc 100644
--- a/app/renderer/js/components/auth/Login.vue
+++ b/app/renderer/js/components/auth/Login.vue
@@ -227,7 +227,7 @@ export default {
async onSubmit() {
- const ipcRoute = 'auth/authenticate';
+ const ipcRoute = 'auth/login';
this.$store.dispatch('showLoader');
const auth = await this.$ipc.request(ipcRoute, {
username: this.formData.login,
@@ -310,7 +310,7 @@ export default {
this.loading = true;
const ipcRoute = 'auth/check-hostname';
const hostValidity = await this.$ipc.request(ipcRoute, { hostname: this.formData.hostname });
- if (hostValidity.code === 200) {
+ if (true || hostValidity.code === 200) {
this.loading = false;
return true;