Skip to content
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

Can’t access the app (get redirected to YunoHost SSO) #96

Open
xplosionmind opened this issue Feb 12, 2024 · 9 comments
Open

Can’t access the app (get redirected to YunoHost SSO) #96

xplosionmind opened this issue Feb 12, 2024 · 9 comments

Comments

@xplosionmind
Copy link

xplosionmind commented Feb 12, 2024

Describe the bug

After a fresh installation, I get to the login page, and after clicking on the button “Continue with membre (mot de passe)” I get redirected to the SSO and I cannot access the Outline app in any way.

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.2.10
  • I have access to my server: Through SSH
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

  1. Install the app via webadmin interface
    • Using a clean subdomain for the Dex installation
    • keeping / as the login path
  2. Visit the domain where Outline was installed
  3. Click on the button “Continue with membre (mot de passe)”
  4. Get redirected to maindomain.tld/yunohost/sso
  5. Even if I click on the Outline button app, I get the same page of point 3.

Expected behavior

I should be using Dex to login and eventually access Outline.

Logs

Here are the logs

@Limezy
Copy link
Collaborator

Limezy commented Feb 13, 2024

Can you please try using incognito / private browser mode and tell me the result ?

@xplosionmind
Copy link
Author

Hi @limez, thanks for replying!

Can you please try using incognito / private browser mode?

I did try already, and after re-logging in from the user portal (in the non-incognito mode I was already logged in) the same problem happens again.

I am sorry I forgot to specify this test in the issue information.

@Limezy
Copy link
Collaborator

Limezy commented Feb 13, 2024

OK, let me have a look on my side if I can reproduce using the latest dex and outline packages. I suspect it's a problem from the latest dex package

@xplosionmind
Copy link
Author

Thank you so much! 🙏🏼

@Limezy
Copy link
Collaborator

Limezy commented Feb 13, 2024

I can indeed reproduce by installing the latest Outline and Dex.
Good news is that it'll be much easier to debug.

@Limezy
Copy link
Collaborator

Limezy commented Feb 13, 2024

OK, after investigating... It's rather straightforward, Dex app isn't installed 🤣
I think there was a recent change on the arguments needed for installation and the Outline app needs to be updated accordingly.

@Limezy
Copy link
Collaborator

Limezy commented Feb 13, 2024

https://github.com/YunoHost-Apps/outline_ynh/pull/97/files
Now trying this fix on my test server

@xplosionmind
Copy link
Author

OK, after investigating… It's rather straightforward, Dex app isn't installed 🤣

I was fearing this indeed, because I did not see its installation process going on…

@Limezy
Copy link
Collaborator

Limezy commented Feb 13, 2024

I confirm the fix is good on my server. Fix merged already.
However it takes a few days for the catalog to be updated.
If you are in a hurry you can launch this on the command line :

sudo yunohost app install --debug --force https://github.com/YunoHost-Apps/outline_ynh

I would be glad if you could report your success (or not) here so that I could close the issue.
Thanks for pointing out that the app was broken...
It's the problem with big apps such as Outline, the app was good by itself but broken by a separate update on dex side...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants