-
Notifications
You must be signed in to change notification settings - Fork 6
SSO and Movim authentification issue #21
Comments
Hi, can you please post your :
? |
admin: moul
domain:
id: movim
install_time: 1449442613
label: Movim
mysqlpwd:
path: /movim
port: '9537'
ssoenabled: 'Yes'
unprotected_uris: /
update_time: 1455625388
<?php
class DisconnectController extends BaseController {
function load() {
$this->session_only = false;
}
function dispatch() {
$user = new User();
$user->desauth();
$this->redirect('');
}
} |
Finally, I am not sure, I can connect to Movim when I am not authenticated on SSOwat. Strange things happen. |
Did you tried to clear the firefox cache ? |
I tried |
cltrl+shift+suppr ? |
After |
Is it the same login / domain ? |
Yep same login and same domain name. |
I was unable to reproduce the bug ... |
I reinstalled and get a blank page. |
Ok, this time I can reproduce the bug. |
Should be fixed, can you remove then install ? Or just upgrade :
Please let me know |
The screen is no more white. |
Same problem here. The problem happens when auto login is on. |
@Rayus : The administrator login is internal to Movim, it is not related to an XMPP account (edhelas confirmed). I am still unable to reproduce the bug, can you run :
And your paste your answers to the install form ? (from "domain" to "movim port"). |
@src386 : I uninstalled and installed again with these parameters :
... and now I have another issue, the Movim deamon isn't running (or isn't reachable). *EDIT : I restarted the internet cube and now movim is running. * BUT, I still have the auto-login problem : when accessing the "Mo" page from Yunohost, it loads the login page and then automatically displays " Le format de l'identifiant n'est pas correct". Problem occurs in Firefox and Chrome on Ubuntu. |
Okay, this message should be a warning and does not prevents the login (for me at least). |
Hello, I have a fresh YunoHost install and I am a bit lost, I would like to connect but I am not even sure what username to use ? I have tried users that I created on the Yunohost administration page but anytime I try to login, it gives redirects me to the disconnect page and it stays blank. |
I have the exact same problem as @alainsanguinetti.
|
I managed to solve this issue using a certificate issued by StartSSL and following the instructions to add the root certificate and the intermediate certificate while the yunohost wiki only says to install the intermediate certificate. |
I set up a let's encrypt certificate, and the problem is gone! |
@alainsanguinetti, could you do a pull request for fr/en certificates pages. |
Sure, here it is: |
I tried what is in the pull request and it did not solved the issue. |
Maybe it just works for StartSSL and cacert ? |
I am using a StartSSL certificate. |
What do you mean by "it" is not working ? I had to restart nginx to take the modifications into account. |
I mean it does not solve this issue. |
With a Let's Encrypt certificate:
|
Should we remove (or don't put as default) auto-login which isn't working? |
SSO auto-login is required for a yunohost app (at least to be present in the unofficial list). |
I have just tried to install Movim using my default YunoHost domain with or without auto-login, as well as using a subdomain from my YunoHost configuration, likewise with or without auto-login. |
Without auto-login, can you access the login page ? |
Without auto-login (similarly to with auto-login), the only thing I can access to is the login page. And when I try to login with any possible login/password I can imagine, the CONNECT button turns into CONNECTING and then I am disconnected from the SSO after a few seconds. |
Hm, that's weird, there is technically no "CONNECT" button (replaced by "COME IN !").
Then try again to log in ? |
There is some improvement! I reinstalled Movim with auto-login. Here is what I am encountering now:
Do you want me to try an installation without auto-login? (I assume it should behave identically as above described, perhaps without SSO disconnection when clicking on Movim's disconnect button -- I don't know). Thanks for your quick reaction anyway! |
I think this a normal behavior, I will try to reproduce this on my Yunohost/Movim server ;) |
Indeed, when you Disconnect from Movim, you get Disconnected from Yunohost. But this is the same behavior in Roundcube (official app). I think the reason is :
So the solution was to disconnect from Yunohost to avoid being connected again. Don't know if it's clear ;) |
OK it's a normal behavior to be disconnected from SSO with the Movim's disconnect button (similarly to Roundcube, as you mention). However, there must be an issue with the SSO authentication propagation to Movim: For example, if I login within YunoHost SSO with account I can in fact indifferently login with address A or B in Movim, whatever the connection used within SSO authentication. |
Seems like a Firefox/Chrome behavior (it's the same URL so it remembers the credentials). |
Sure, it might be the browser which stores the previously entered login/pass in its keyring or so. But why am I prompted to login by Movim in the first place, since I just logged in with YunoHost? Once logged in under YunoHost SSO authentication, I would expect to be directly connected to my corresponding Movim account (just like for Nextcloud or Roundcube), not even being allowed to log in with other credentials. Thanks for your time and involvement by the way! |
@jellium with latest version, if you login on YunoHost SSO, then start Movim, you see the Movim login page, but only temporarily: if you wait, you'll get directly to the application without typing anything. Can you confirm that? |
@JimboJoe I just upgraded Movim and tried. After logging in with YunoHost SSO, I clicked on the Movim square and end up on the Movim login page prefilled with my YunoHost credentials. Nothing else happens. From the Firefox console, I can see among the last actions and comments Let me mention that I use Movim on another domain name as my YunoHost install domain. |
It's working OK for me on domain root. Is movim installed on a domain subdirectory? If yes could you please try at a domain root? I just tried installing in a domain subdirectory in a VM and I'm redirected to the Movim login page with the user pre-filled... and then to the YunoHost SSO credential page with the mention "Disconnected"... :-/ |
I upgrade from version <= 1.3 to 1.6.1.
I have a private pod.
When I am authenticated on SSOwat and I go to
/movim/
, I get this error messageOups ! Movim n’a pas pu vous authentifier. Vous avez entré des données erronées.
Then, after many redirection I am redirected tomovim/?disconnect
.Finally, I can't log in to Movim.
But, when I am not authenticated on SSOwat, I can connect to Movim.
The text was updated successfully, but these errors were encountered: