You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying a setup with phoenix 5.8.0 from container.
Configuration has PHOENIX_HOST_ROOT_PATH=/test set, authentication and SSO is configured to be used and the whole setup is behind a proxy (https://my.host/test redirects to the container).
3 things go wrong:
navigating to https://my.host/test ends up trying to access https://my.host/login?returnUrl=%2Ftest; which can't work. manually adding the root path https://my.host/test/login?returnUrl=%2Ftest does bring me to the login page. the root path does work (i see in the logs that urls are being fetched; i presume some fallback code in case of unauthenticated access is missing the root path). the SSO login button has same issue: it tries to go to https://my.host/oauth2/... instead of https://my.host/test/oauth2/.... (Also the "return home" button in case of failure with SSO does not use the root path, it goes back to https://my.host instead of https://my.host/test)
i cannot use the admin@localhost / admin credentials to login using the username/password. is that due to the SSO setup? not really clear form the docs if this should always work or not. i have not tried a setup without the SSO bits.
the login screen has no scrollbar, see screenshot. i need to zoom out to see the SSO button. also, with SSO enabled, it might make more sense to put the SSO login first, and the username/password as second option (or have separate url for username/password login; this will only confuse people imho).
To Reproduce
Expected behavior
Fallback to working login page in case first access to the site. Being able to login with admin credentials, aside from any SSO authentication.
Screenshots
Is attached for the missing scrollbar issue
Environment (please complete the following information):
Tested on fedora, with firefox browser.
Describe the bug
Trying a setup with phoenix 5.8.0 from container.
Configuration has
PHOENIX_HOST_ROOT_PATH=/test
set, authentication and SSO is configured to be used and the whole setup is behind a proxy (https://my.host/test
redirects to the container).3 things go wrong:
https://my.host/test
ends up trying to accesshttps://my.host/login?returnUrl=%2Ftest
; which can't work. manually adding the root pathhttps://my.host/test/login?returnUrl=%2Ftest
does bring me to the login page. the root path does work (i see in the logs that urls are being fetched; i presume some fallback code in case of unauthenticated access is missing the root path). the SSO login button has same issue: it tries to go tohttps://my.host/oauth2/...
instead ofhttps://my.host/test/oauth2/...
. (Also the "return home" button in case of failure with SSO does not use the root path, it goes back tohttps://my.host
instead ofhttps://my.host/test
)admin@localhost / admin
credentials to login using the username/password. is that due to the SSO setup? not really clear form the docs if this should always work or not. i have not tried a setup without the SSO bits.To Reproduce
Expected behavior
Fallback to working login page in case first access to the site. Being able to login with admin credentials, aside from any SSO authentication.
Screenshots
Is attached for the missing scrollbar issue
Environment (please complete the following information):
Tested on fedora, with firefox browser.
Additional context
The text was updated successfully, but these errors were encountered: