-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAS not working after migration to ynh 12 #497
Comments
Well, I discover that if I'm not already logged in when I click on "Continue with CAS" but I login after then it works. |
Hello, Can you try from testing to see if it solve the issue. |
Still the same. |
So if I understand correctly the issue is with the session on which you are already logged in. If it's the case can you try to logout then login and try again. I would like to be sure that you have the correct cookie when you send the request. |
No, it's the same. If I'm logged in (even if I first logout and then login again) when I click on the button "continue with CAS" then it goes to the ynh user app list instead of asking me to "accept". I tried app.element.io on both Firefox private page and Firefox dev (not private, without any addons). |
Ok, maybe it coule be a crash of the php part. Can you share me the content of you php and nginx log ? |
I could not find anything relevant in
The only error I could find in logs when I repeat the action was in
|
Can you share me the log that you have while do try a login in |
|
So after some (long) investigation I confirm that it's a regression and it's an upstream issue. cf YunoHost/yunohost#2018 One important clarification of how to reproduce this issue is that this happen when the Yunohost portal domain is completely different than the element app domain. So by example we can easily reproduce the issue if we use element from https://app.element.io So the current known workaround is to install on the Yunohost instance the element app and login on matrix from this app. |
Describe the bug
After migrating to ynh 12, I can't connect to matrix account. When I click on "Continue with CAS", it goes to the ynh user app list only.
Context
Steps to reproduce
Connect to ynh SSO.
Go to app.element.io
Choose synapse server address
Click on "Continue with CAS"
Reach to the user ynh app list screen
Also, if I go on https://domain.tld/_matrix/cas_server.php, then I get a "Bad URL" page.
Expected behavior
Be able to click on continue/accept and be connected to matrix account within Element.
Logs
The text was updated successfully, but these errors were encountered: