Hi,
i tried to create an example for the SSO feature of 6.3(RC2) which i find quite fascinating. You can find it here: GitHub - mariodavid/cuba-example-sso: CUBA platform example that shows how to use single sign on feature for multiple applications
It works almost, but one thing did not work. I assume i configured the application wrong, but you might have a look:
IDP: auth-app
SP: order-app
When i open http://auth-app:8081/app i will get redirected to the idp login (http://auth-app:8081/app/idp), which works. After correct login, i get forwarded to the auth-app (which is fine as well). Now when i either directly go to http://order-app:8082/app i will get redirected to http://auth-app:8081/app (since i’m already logged in, not to idp, which is correct). But what is wrong is that i will not be forwarded to http://order-app:8082/app. The same thing happens, when i logout from the auth-app before.
So going to http://order-app:8082/app gets me to idp login. After the successful login, i will be forwarded to http://auth-app:8081/app (which is wrong).
For the example i created a shell script cuba-example-sso/start-sso-example.sh at master · mariodavid/cuba-example-sso · GitHub that you can execute to start the environment (it requires to have docker installed for postgres installations, as well as entries for “auth-app” and “order-app” in /etc/hosts).
Another question: Is there a particular reason, the IDP login does not use Vaadin for UI? This would be probably the first thing for me to customize, to get the normal login screen back up (with the features like the loading indicator on the top, the buttons etc.)
Thanks in advance!
Bye,
Mario