Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 462485

Summary: [client] client should redirect to landing.html
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ClientAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ubolatov
Version: unspecified   
Target Milestone: 9.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2015-03-18 12:38:15 EDT
When you navigate to http://localhost:8080/, by default we redirect to 
http://localhost:8080/mixloginstatic/LoginWindow.html?redirect=http%3A%2F%2Flocalhost%3A8080%2F&key=FORMOAuthUser

We should be redirecting to the new landing page at:
http://localhost:8080/mixloginstatic/landing.html
Comment 1 Umar Bolatov CLA 2015-03-19 11:13:35 EDT
(In reply to Anthony Hunter from comment #0)
> When you navigate to http://localhost:8080/, by default we redirect to 
> http://localhost:8080/mixloginstatic/LoginWindow.
> html?redirect=http%3A%2F%2Flocalhost%3A8080%2F&key=FORMOAuthUser
> 
> We should be redirecting to the new landing page at:
> http://localhost:8080/mixloginstatic/landing.html

Isn't this configured on the server and not the client? Also, wouldn't the server configuration be different for orion.eclipse.org and orionhub, since we don't care for the landing page in the case of orion.eclipse.org?
Comment 2 Anthony Hunter CLA 2015-03-20 13:06:02 EDT
The redirect is done by authenticationPlugin.js. I have fixed with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=c9897f184b73ba9e7231fb0b4aa436a1cad00c7a

There are other places that reference LoginWindow.html, but it looks like this change is sufficient for a stand alone Orion.