-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error with not logged redirection #638
Comments
trying here from https://FQDN/mapstore/#/context/all_plugins/106 i get a proper redirection to |
to be fully clear, from my understanding what happens is:
|
I think you have a proper redirect because your FQDN root is handled by your security proxy ? Here I have a Wordpress on the root of my FQDN, so only georchestra's path are proxied to SP (header, console, mapstore, etc...), so if mapstore want to be redirected to login by SP it should use I think lot of platforms use the FQDN root as a portal not handled by georchestra's SP so a georchestra's app shoud use it's own path to trigger the login. |
well if that's the case i think you can configure it via localConfig.json (untested but cf geosolutions-it/MapStore2#9298)
|
it'd be nice to have an explanation of what's the usecase of |
I have updated the referred PR to avoid confusion. That configuration is not valid and redirection is handled in geOrchestra directly. Currently redirection to login is done by appending |
right, got it - so that's hardcoded to |
Can it be updated to Maybe a way to handle the redirect after login is to use localStorage to store the last requested context :
|
@tdipisa @catmorales Any news about this ? It's very anoying as currently our users are redirected to an error page if they're not connected. And maybe have a return for my previous suggestion ? |
@jusabatier |
Update through #665 (comment) |
@catmorales @jusabatier we didn't receive yet any feedback from you on this. Did you finally retest it? This update is also already included in the RC4 done by @f-necas |
Sorry, I tested it and it work well ! The redirection happen when not logged try to access a protected context, and the user is redirected to the context once logged in. |
Describe the bug
In the last release (2023.02.00-RC2-geOrchestra), the redirect if not connected function doesn't work with georchestra.
#415
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should be redirected to georchestra's CAS login, then to the context.
Screenshots
Capture.video.du.08-08-2023.10.06.44.webm
@catmorales @MaelREBOUX @landryb @tdipisa
The text was updated successfully, but these errors were encountered: