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

Redirect to https://<domain>/web/index.html instead of https://<domain>/ #109

Closed
joeyame opened this issue Mar 4, 2023 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@joeyame
Copy link

joeyame commented Mar 4, 2023

Describe the bug
Because the plugin does not seem to automatically engage OIDC login, I have configured my Traefik instance to automatically redirect from https:// to https://sso/OID/p/Authentik. I assumed this would be a fine solution since internally everything in jellyfin is redirected to /web/index.html. The problem is that this SSO plugin does not redirect to /web/index.html - it redirects to /. So now my instance is stuck in a loop between redirecting to Authentik and then Jellyfin and back again.

To Reproduce
Setup described above

Expected behavior
The redirect I put on the proxy takes me to Authentik, and the SSO plugin for Jellyfin redirects me to the index.html page, not the root.

Versions (please complete the following information):

  • OS: Linux
  • Browser: Edge
  • Jellyfin Version: 10.8.9
  • Plugin Version: 3.4.0.0

Additional context
I'd be willing to take this on myself but would appreciate someone pointing me in the right direction.

@joeyame joeyame added the bug Something isn't working label Mar 4, 2023
@9p4 9p4 added enhancement New feature or request and removed bug Something isn't working labels Mar 4, 2023
@9p4
Copy link
Owner

9p4 commented Mar 7, 2023

window.location.replace('" + baseUrl + @"');

This line will need to be changed

9p4 added a commit that referenced this issue Aug 6, 2023
@9p4
Copy link
Owner

9p4 commented Aug 6, 2023

Fixed in 5777c80

@9p4 9p4 closed this as completed Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants